diff options
| author | Jung-uk Kim <jkim@FreeBSD.org> | 2010-10-13 20:35:34 +0000 |
|---|---|---|
| committer | Jung-uk Kim <jkim@FreeBSD.org> | 2010-10-13 20:35:34 +0000 |
| commit | 11641cd290cbb4765d39dadd5a4eee278b8769ee (patch) | |
| tree | 8b4567d2d969b27d3900a41337a0ad389480eae7 /compiler/aslcompile.c | |
| parent | 65742a25f73183e6d4476539ba18aff6480e73d4 (diff) | |
Notes
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 f199c5b9b816..019f9e4f65b4 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)); } |
