diff options
author | Robert Moore <Robert.Moore@intel.com> | 2012-10-31 14:16:18 -0700 |
---|---|---|
committer | Robert Moore <Robert.Moore@intel.com> | 2012-10-31 14:16:18 -0700 |
commit | a3e95d8f8ee13e5a94618c410c71ab2d0e5515f3 (patch) | |
tree | c56e967dc4f179e6b006746a70aa1d5b5cdf008c | |
parent | aea0bdbeb9097ef2159f824d6cbf0fead3efef6f (diff) | |
download | acpica-a3e95d8f8ee13e5a94618c410c71ab2d0e5515f3.tar.gz |
iASL: Remove obsolete -2 option flag.
Originally intended to force the compiler/disassembler into an
ACPI 2.0 mode, this was never implemented and the entire concept
is now obsolete.
-rw-r--r-- | source/compiler/aslglobal.h | 1 | ||||
-rw-r--r-- | source/compiler/aslmain.c | 8 |
2 files changed, 1 insertions, 8 deletions
diff --git a/source/compiler/aslglobal.h b/source/compiler/aslglobal.h index 9c98a3673..f32db633a 100644 --- a/source/compiler/aslglobal.h +++ b/source/compiler/aslglobal.h @@ -209,7 +209,6 @@ ASL_EXTERN BOOLEAN ASL_INIT_GLOBAL (Gbl_PreprocessOnly, FALSE); ASL_EXTERN BOOLEAN ASL_INIT_GLOBAL (Gbl_PreprocessFlag, TRUE); ASL_EXTERN BOOLEAN ASL_INIT_GLOBAL (Gbl_DisassembleAll, FALSE); -ASL_EXTERN BOOLEAN ASL_INIT_GLOBAL (Gbl_Acpi2, FALSE); ASL_EXTERN BOOLEAN ASL_INIT_GLOBAL (Gbl_UseDefaultAmlFilename, TRUE); ASL_EXTERN BOOLEAN ASL_INIT_GLOBAL (Gbl_NsOutputFlag, FALSE); ASL_EXTERN BOOLEAN ASL_INIT_GLOBAL (Gbl_PreprocessorOutputFlag, FALSE); diff --git a/source/compiler/aslmain.c b/source/compiler/aslmain.c index 5c70227fa..95f52a206 100644 --- a/source/compiler/aslmain.c +++ b/source/compiler/aslmain.c @@ -172,7 +172,7 @@ AslDoResponseFile ( #define ASL_TOKEN_SEPARATORS " \t\n" -#define ASL_SUPPORTED_OPTIONS "@:2b|c|d^D:e:fgh^i|I:l^m:no|p:P^r:s|t|T:G^v^w|x:z" +#define ASL_SUPPORTED_OPTIONS "@:b|c|d^D:e:fgh^i|I:l^m:no|p:P^r:s|t|T:G^v^w|x:z" /******************************************************************************* @@ -243,7 +243,6 @@ Options ( ACPI_OPTION ("-dc [file]", "Disassemble AML and immediately compile it"); ACPI_OPTION ("", "(Obtain DSDT from current system if no input file)"); ACPI_OPTION ("-e [f1,f2]", "Include ACPI table(s) for external symbol resolution"); - ACPI_OPTION ("-2", "Emit ACPI 2.0 compatible ASL code"); ACPI_OPTION ("-g", "Get ACPI tables and write to files (*.dat)"); ACPI_OPTION ("-vt", "Dump binary table data in hex format within output file"); @@ -545,11 +544,6 @@ AslDoOptions ( break; - case '2': /* ACPI 2.0 compatibility mode */ - Gbl_Acpi2 = TRUE; - break; - - case 'b': /* Debug output options */ switch (AcpiGbl_Optarg[0]) { |