summaryrefslogtreecommitdiff
path: root/source/components/parser/psxface.c
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2016-09-30 19:46:13 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2016-09-30 19:46:13 +0000
commit7600ac2283596bd000a29b9347e95346d3b740d7 (patch)
tree71816608dca5b2fd7445b5bd4cba161b0b293fe1 /source/components/parser/psxface.c
parentbe99e84498e91a5930864ef7b92b1a7ceb815e44 (diff)
Notes
Diffstat (limited to 'source/components/parser/psxface.c')
-rw-r--r--source/components/parser/psxface.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/source/components/parser/psxface.c b/source/components/parser/psxface.c
index c85f0e939f33..58c1ce82f116 100644
--- a/source/components/parser/psxface.c
+++ b/source/components/parser/psxface.c
@@ -334,6 +334,18 @@ AcpiPsExecuteTable (
WalkState->ParseFlags |= ACPI_PARSE_MODULE_LEVEL;
}
+ /* Info->Node is the default location to load the table */
+
+ if (Info->Node && Info->Node != AcpiGbl_RootNode)
+ {
+ Status = AcpiDsScopeStackPush (
+ Info->Node, ACPI_TYPE_METHOD, WalkState);
+ if (ACPI_FAILURE (Status))
+ {
+ goto Cleanup;
+ }
+ }
+
/*
* Parse the AML, WalkState will be deleted by ParseAml
*/