diff options
author | Robert Moore <Robert.Moore@intel.com> | 2010-04-08 13:44:37 -0700 |
---|---|---|
committer | Robert Moore <Robert.Moore@intel.com> | 2010-04-08 13:44:37 -0700 |
commit | 8cf3f0b4b966d82611551169da42ab957bf3ec0c (patch) | |
tree | 61a855c0f64ad98336de1d5ef69eb7ab275a13f1 /source/compiler/aslcompile.c | |
parent | f633a5f19873aa418a6e6bf884c8f530d456eff0 (diff) | |
download | acpica-8cf3f0b4b966d82611551169da42ab957bf3ec0c.tar.gz |
iASL: Add -ts hex output option (emit ASL code).
New option to emit the hex AML code in an ASL buffer.
ACPICA BZ 853.
Diffstat (limited to 'source/compiler/aslcompile.c')
-rw-r--r-- | source/compiler/aslcompile.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/compiler/aslcompile.c b/source/compiler/aslcompile.c index 90e90991b..d6cb8adc7 100644 --- a/source/compiler/aslcompile.c +++ b/source/compiler/aslcompile.c @@ -177,7 +177,8 @@ AslCompilerSignon ( { Prefix = "; "; } - else if (Gbl_HexOutputFlag == HEX_OUTPUT_C) + else if ((Gbl_HexOutputFlag == HEX_OUTPUT_C) || + (Gbl_HexOutputFlag == HEX_OUTPUT_ASL)) { FlPrintFile (ASL_FILE_HEX_OUTPUT, "/*\n"); Prefix = " * "; @@ -265,7 +266,8 @@ AslCompilerFileHeader ( { Prefix = "; "; } - else if (Gbl_HexOutputFlag == HEX_OUTPUT_C) + else if ((Gbl_HexOutputFlag == HEX_OUTPUT_C) || + (Gbl_HexOutputFlag == HEX_OUTPUT_ASL)) { Prefix = " * "; } |