diff options
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 c832211544edf..261f81fffa03c 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); | 
