diff options
author | jkim <jkim@FreeBSD.org> | 2013-01-02 19:01:21 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2013-01-02 19:01:21 +0000 |
commit | 8f7c8be022add76a280165a4247448f1fcd77631 (patch) | |
tree | 434e706ece73a93073f350c91cd35ed7d7e98811 /source/components/disassembler | |
parent | 526bfcf905004d9b67338a445cb661a63c3de018 (diff) | |
download | FreeBSD-src-8f7c8be022add76a280165a4247448f1fcd77631.zip FreeBSD-src-8f7c8be022add76a280165a4247448f1fcd77631.tar.gz |
Import ACPICA 20121220.
Diffstat (limited to 'source/components/disassembler')
-rw-r--r-- | source/components/disassembler/dmdeferred.c | 2 | ||||
-rw-r--r-- | source/components/disassembler/dmnames.c | 6 | ||||
-rw-r--r-- | source/components/disassembler/dmresrc.c | 3 |
3 files changed, 6 insertions, 5 deletions
diff --git a/source/components/disassembler/dmdeferred.c b/source/components/disassembler/dmdeferred.c index a3f40ae..40b4d9e 100644 --- a/source/components/disassembler/dmdeferred.c +++ b/source/components/disassembler/dmdeferred.c @@ -83,7 +83,7 @@ AcpiDmParseDeferredOps ( ACPI_STATUS Status; - ACPI_FUNCTION_NAME (DmParseDeferredOps); + ACPI_FUNCTION_ENTRY (); /* Traverse the entire parse tree */ diff --git a/source/components/disassembler/dmnames.c b/source/components/disassembler/dmnames.c index 7284721..35ed7ca 100644 --- a/source/components/disassembler/dmnames.c +++ b/source/components/disassembler/dmnames.c @@ -44,7 +44,6 @@ #include "acpi.h" #include "accommon.h" -#include "acparser.h" #include "amlcode.h" #include "acnamesp.h" #include "acdisasm.h" @@ -226,7 +225,8 @@ AcpiDmNamestring ( /* Handle all Scope Prefix operators */ - while (AcpiPsIsPrefixChar (ACPI_GET8 (Name))) + while (ACPI_IS_ROOT_PREFIX (ACPI_GET8 (Name)) || + ACPI_IS_PARENT_PREFIX (ACPI_GET8 (Name))) { /* Append prefix character */ @@ -323,7 +323,7 @@ AcpiDmDisplayPath ( if ((NamePath) && (NamePath->Common.Value.String) && - (NamePath->Common.Value.String[0] == '\\')) + (ACPI_IS_ROOT_PREFIX (NamePath->Common.Value.String[0]))) { AcpiDmNamestring (NamePath->Common.Value.String); return; diff --git a/source/components/disassembler/dmresrc.c b/source/components/disassembler/dmresrc.c index bf2a4d4..89c01fa 100644 --- a/source/components/disassembler/dmresrc.c +++ b/source/components/disassembler/dmresrc.c @@ -415,7 +415,8 @@ AcpiDmIsResourceTemplate ( /* Walk the byte list, abort on any invalid descriptor type or length */ - Status = AcpiUtWalkAmlResources (WalkState, Aml, Length, NULL, &EndAml); + Status = AcpiUtWalkAmlResources (WalkState, Aml, Length, + NULL, (void **) &EndAml); if (ACPI_FAILURE (Status)) { return (AE_TYPE); |