diff options
author | Jung-uk Kim <jkim@FreeBSD.org> | 2018-02-09 18:18:00 +0000 |
---|---|---|
committer | Jung-uk Kim <jkim@FreeBSD.org> | 2018-02-09 18:18:00 +0000 |
commit | 04f27355c01cb894338c3382792c0c2b75c86239 (patch) | |
tree | 1eacbedc15cb558e6ca546ff15e375a14d717ca7 /source/components/namespace | |
parent | 30321a234a02f257e7f87456c8660064d7acdbfd (diff) |
Notes
Diffstat (limited to 'source/components/namespace')
-rw-r--r-- | source/components/namespace/nseval.c | 11 | ||||
-rw-r--r-- | source/components/namespace/nsinit.c | 7 | ||||
-rw-r--r-- | source/components/namespace/nsnames.c | 3 | ||||
-rw-r--r-- | source/components/namespace/nsparse.c | 8 |
4 files changed, 20 insertions, 9 deletions
diff --git a/source/components/namespace/nseval.c b/source/components/namespace/nseval.c index 14fcb95323ff8..b1e1af9a15caf 100644 --- a/source/components/namespace/nseval.c +++ b/source/components/namespace/nseval.c @@ -308,6 +308,7 @@ AcpiNsEvaluate ( */ switch (AcpiNsGetType (Info->Node)) { + case ACPI_TYPE_ANY: case ACPI_TYPE_DEVICE: case ACPI_TYPE_EVENT: case ACPI_TYPE_MUTEX: @@ -315,13 +316,13 @@ AcpiNsEvaluate ( case ACPI_TYPE_THERMAL: case ACPI_TYPE_LOCAL_SCOPE: /* - * 1) Disallow evaluation of certain object types. For these, - * object evaluation is undefined and not supported. + * 1) Disallow evaluation of these object types. For these, + * object evaluation is undefined. */ ACPI_ERROR ((AE_INFO, - "%s: Evaluation of object type [%s] is not supported", - Info->FullPathname, - AcpiUtGetTypeName (Info->Node->Type))); + "%s: This object type [%s] " + "never contains data and cannot be evaluated", + Info->FullPathname, AcpiUtGetTypeName (Info->Node->Type))); Status = AE_TYPE; goto Cleanup; diff --git a/source/components/namespace/nsinit.c b/source/components/namespace/nsinit.c index 4a075bed5171f..dc76db9f6a70c 100644 --- a/source/components/namespace/nsinit.c +++ b/source/components/namespace/nsinit.c @@ -418,7 +418,7 @@ ErrorExit: * RETURN: Status * * DESCRIPTION: Callback from AcpiWalkNamespace. Invoked for every object - * within the namespace. + * within the namespace. * * Currently, the only objects that require initialization are: * 1) Methods @@ -540,6 +540,10 @@ AcpiNsInitOneObject ( break; } + ACPI_DEBUG_PRINT_RAW ((ACPI_DB_PARSE, + "%s: Completing resolution of Package elements\n", + ACPI_GET_FUNCTION_NAME)); + /* * Resolve all named references in package objects (and all * sub-packages). This action has been deferred until the entire @@ -548,6 +552,7 @@ AcpiNsInitOneObject ( */ Status = AcpiUtWalkPackageTree (ObjDesc, NULL, AcpiDsInitPackageElement, NULL); + ObjDesc->Package.Flags |= AOPOBJ_DATA_VALID; break; diff --git a/source/components/namespace/nsnames.c b/source/components/namespace/nsnames.c index b29eac4211757..097037cbe58db 100644 --- a/source/components/namespace/nsnames.c +++ b/source/components/namespace/nsnames.c @@ -511,6 +511,9 @@ AcpiNsGetNormalizedPathname ( (void) AcpiNsBuildNormalizedPath (Node, NameBuffer, Size, NoTrailing); + ACPI_DEBUG_PRINT_RAW ((ACPI_DB_NAMES, "%s: Path \"%s\"\n", + ACPI_GET_FUNCTION_NAME, NameBuffer)); + return_PTR (NameBuffer); } diff --git a/source/components/namespace/nsparse.c b/source/components/namespace/nsparse.c index baa37d26888d1..bb24bab91a8d8 100644 --- a/source/components/namespace/nsparse.c +++ b/source/components/namespace/nsparse.c @@ -232,8 +232,9 @@ AcpiNsExecuteTable ( goto Cleanup; } - ACPI_DEBUG_PRINT ((ACPI_DB_PARSE, - "Create table code block: %p\n", MethodObj)); + ACPI_DEBUG_PRINT_RAW ((ACPI_DB_PARSE, + "%s: Create table pseudo-method for [%4.4s] @%p, method %p\n", + ACPI_GET_FUNCTION_NAME, Table->Signature, Table, MethodObj)); MethodObj->Method.AmlStart = AmlStart; MethodObj->Method.AmlLength = AmlLength; @@ -404,7 +405,8 @@ AcpiNsParseTable ( if (AcpiGbl_ParseTableAsTermList) { - ACPI_DEBUG_PRINT ((ACPI_DB_PARSE, "**** Start load pass\n")); + ACPI_DEBUG_PRINT_RAW ((ACPI_DB_PARSE, + "%s: **** Start table execution pass\n", ACPI_GET_FUNCTION_NAME)); Status = AcpiNsExecuteTable (TableIndex, StartNode); if (ACPI_FAILURE (Status)) |