diff options
author | jkim <jkim@FreeBSD.org> | 2010-10-13 20:35:34 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2010-10-13 20:35:34 +0000 |
commit | 7af726f5cc604d3fcd32200efde74ce8464d8dbe (patch) | |
tree | 8b4567d2d969b27d3900a41337a0ad389480eae7 /compiler/aslcompile.c | |
parent | c5863557e158eb3876688e611d5915c27657e18a (diff) | |
download | FreeBSD-src-7af726f5cc604d3fcd32200efde74ce8464d8dbe.zip FreeBSD-src-7af726f5cc604d3fcd32200efde74ce8464d8dbe.tar.gz |
Import ACPICA 20101013.
Diffstat (limited to 'compiler/aslcompile.c')
-rw-r--r-- | compiler/aslcompile.c | 27 |
1 files changed, 7 insertions, 20 deletions
diff --git a/compiler/aslcompile.c b/compiler/aslcompile.c index f199c5b..019f9e4 100644 --- a/compiler/aslcompile.c +++ b/compiler/aslcompile.c @@ -117,6 +117,7 @@ #include <stdio.h> #include <time.h> #include "aslcompiler.h" +#include <acapps.h> #define _COMPONENT ACPI_COMPILER ACPI_MODULE_NAME ("aslcompile") @@ -155,6 +156,7 @@ AslCompilerSignon ( UINT32 FileId) { char *Prefix = ""; + char *UtilityName; /* Set line prefix depending on the destination file type */ @@ -192,36 +194,21 @@ AslCompilerSignon ( break; } - /* - * Compiler signon with copyright - */ - FlPrintFile (FileId, - "%s\n%s%s\n%s", - Prefix, - Prefix, IntelAcpiCA, - Prefix); - /* Running compiler or disassembler? */ if (Gbl_DisasmFlag) { - FlPrintFile (FileId, - "%s", DisassemblerId); + UtilityName = AML_DISASSEMBLER_NAME; } else { - FlPrintFile (FileId, - "%s", CompilerId); + UtilityName = ASL_COMPILER_NAME; } - /* Version, build date, copyright, compliance */ + /* Compiler signon with copyright */ - FlPrintFile (FileId, - " version %X [%s]\n%s%s\n%s%s\n%s\n", - (UINT32) ACPI_CA_VERSION, __DATE__, - Prefix, CompilerCopyright, - Prefix, CompilerCompliance, - Prefix); + FlPrintFile (FileId, "%s\n", Prefix); + FlPrintFile (FileId, ACPI_COMMON_HEADER (UtilityName, Prefix)); } |