diff options
Diffstat (limited to 'source/components/disassembler')
| -rw-r--r-- | source/components/disassembler/dmbuffer.c | 2 | ||||
| -rw-r--r-- | source/components/disassembler/dmdeferred.c | 2 | ||||
| -rw-r--r-- | source/components/disassembler/dmnames.c | 2 | ||||
| -rw-r--r-- | source/components/disassembler/dmobject.c | 2 | ||||
| -rw-r--r-- | source/components/disassembler/dmopcode.c | 2 | ||||
| -rw-r--r-- | source/components/disassembler/dmresrc.c | 2 | ||||
| -rw-r--r-- | source/components/disassembler/dmresrcl.c | 2 | ||||
| -rw-r--r-- | source/components/disassembler/dmresrcl2.c | 2 | ||||
| -rw-r--r-- | source/components/disassembler/dmresrcs.c | 2 | ||||
| -rw-r--r-- | source/components/disassembler/dmutils.c | 2 | ||||
| -rw-r--r-- | source/components/disassembler/dmwalk.c | 27 | 
11 files changed, 35 insertions, 12 deletions
| diff --git a/source/components/disassembler/dmbuffer.c b/source/components/disassembler/dmbuffer.c index 43134abfe7561..89102ab095439 100644 --- a/source/components/disassembler/dmbuffer.c +++ b/source/components/disassembler/dmbuffer.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 diff --git a/source/components/disassembler/dmdeferred.c b/source/components/disassembler/dmdeferred.c index 40b4d9e854497..7102ea78afc20 100644 --- a/source/components/disassembler/dmdeferred.c +++ b/source/components/disassembler/dmdeferred.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 diff --git a/source/components/disassembler/dmnames.c b/source/components/disassembler/dmnames.c index 35ed7cabe97fc..22f045c688569 100644 --- a/source/components/disassembler/dmnames.c +++ b/source/components/disassembler/dmnames.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 diff --git a/source/components/disassembler/dmobject.c b/source/components/disassembler/dmobject.c index 1eec0e73cf252..f6c681d440c13 100644 --- a/source/components/disassembler/dmobject.c +++ b/source/components/disassembler/dmobject.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 diff --git a/source/components/disassembler/dmopcode.c b/source/components/disassembler/dmopcode.c index 443ef089e90b3..ad695317ff0b0 100644 --- a/source/components/disassembler/dmopcode.c +++ b/source/components/disassembler/dmopcode.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 diff --git a/source/components/disassembler/dmresrc.c b/source/components/disassembler/dmresrc.c index 89c01fac78df9..29f2eb74c3aba 100644 --- a/source/components/disassembler/dmresrc.c +++ b/source/components/disassembler/dmresrc.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 diff --git a/source/components/disassembler/dmresrcl.c b/source/components/disassembler/dmresrcl.c index dfd8e781bdaaa..1b7c50ba51796 100644 --- a/source/components/disassembler/dmresrcl.c +++ b/source/components/disassembler/dmresrcl.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 diff --git a/source/components/disassembler/dmresrcl2.c b/source/components/disassembler/dmresrcl2.c index 0615f5c399c53..5db2062bb2a21 100644 --- a/source/components/disassembler/dmresrcl2.c +++ b/source/components/disassembler/dmresrcl2.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 diff --git a/source/components/disassembler/dmresrcs.c b/source/components/disassembler/dmresrcs.c index 60eb558259a3e..5c82a02eb9bde 100644 --- a/source/components/disassembler/dmresrcs.c +++ b/source/components/disassembler/dmresrcs.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 diff --git a/source/components/disassembler/dmutils.c b/source/components/disassembler/dmutils.c index b529b883bb264..8c10eec8c93e3 100644 --- a/source/components/disassembler/dmutils.c +++ b/source/components/disassembler/dmutils.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 diff --git a/source/components/disassembler/dmwalk.c b/source/components/disassembler/dmwalk.c index 0fa4049935529..02c92a39fa5df 100644 --- a/source/components/disassembler/dmwalk.c +++ b/source/components/disassembler/dmwalk.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 @@ -441,7 +441,30 @@ AcpiDmDescendingOp (               * This is a first-level element of a term list,               * indent a new line               */ -            AcpiDmIndent (Level); +            switch (Op->Common.AmlOpcode) +            { +            case AML_NOOP_OP: +                /* +                 * Optionally just ignore this opcode. Some tables use +                 * NoOp opcodes for "padding" out packages that the BIOS +                 * changes dynamically. This can leave hundreds or +                 * thousands of NoOp opcodes that if disassembled, +                 * cannot be compiled because they are syntactically +                 * incorrect. +                 */ +                if (AcpiGbl_IgnoreNoopOperator) +                { +                    Op->Common.DisasmFlags |= ACPI_PARSEOP_IGNORE; +                    return (AE_OK); +                } + +                /* Fallthrough */ + +            default: +                AcpiDmIndent (Level); +                break; +            } +              Info->LastLevel = Level;              Info->Count = 0;      } | 
