diff options
author | Jung-uk Kim <jkim@FreeBSD.org> | 2013-01-17 21:32:03 +0000 |
---|---|---|
committer | Jung-uk Kim <jkim@FreeBSD.org> | 2013-01-17 21:32:03 +0000 |
commit | ee39d6d85cfcfa8e856c410c0ad4cd96e8fded55 (patch) | |
tree | 4bd397d55198bfd01fc6744430f25faf08f18b0c /source/compiler/aslmain.c | |
parent | b28e481ae9b051dab150e9b5a89730cdc1103a9c (diff) | |
download | src-ee39d6d85cfcfa8e856c410c0ad4cd96e8fded55.tar.gz src-ee39d6d85cfcfa8e856c410c0ad4cd96e8fded55.zip |
Import ACPICA 20130117.vendor/acpica/20130117
Notes
Notes:
svn path=/vendor-sys/acpica/dist/; revision=245576
svn path=/vendor-sys/acpica/20130117/; revision=245578; tag=vendor/acpica/20130117
Diffstat (limited to 'source/compiler/aslmain.c')
-rw-r--r-- | source/compiler/aslmain.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/source/compiler/aslmain.c b/source/compiler/aslmain.c index c832211544ed..261f81fffa03 100644 --- a/source/compiler/aslmain.c +++ b/source/compiler/aslmain.c @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2012, Intel Corp. + * Copyright (C) 2000 - 2013, Intel Corp. * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -153,6 +153,7 @@ Options ( ACPI_OPTION ("-oi", "Disable integer optimization to Zero/One/Ones"); ACPI_OPTION ("-on", "Disable named reference string optimization"); ACPI_OPTION ("-cr", "Disable Resource Descriptor error checking"); + ACPI_OPTION ("-in", "Ignore NoOp operators"); ACPI_OPTION ("-r <revision>", "Override table header Revision (1-255)"); printf ("\nASL Listing Files:\n"); @@ -172,6 +173,7 @@ Options ( 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 ("-g", "Get ACPI tables and write to files (*.dat)"); + ACPI_OPTION ("-in", "Ignore NoOp opcodes"); ACPI_OPTION ("-vt", "Dump binary table data in hex format within output file"); printf ("\nHelp:\n"); @@ -622,6 +624,13 @@ AslDoOptions ( Gbl_C_IncludeOutputFlag = TRUE; break; + case 'n': + + /* Compiler/Disassembler: Ignore the NOOP operator */ + + AcpiGbl_IgnoreNoopOperator = TRUE; + break; + default: printf ("Unknown option: -i%s\n", AcpiGbl_Optarg); return (-1); |