diff options
author | Jung-uk Kim <jkim@FreeBSD.org> | 2020-10-08 16:44:28 +0000 |
---|---|---|
committer | Jung-uk Kim <jkim@FreeBSD.org> | 2020-10-08 16:44:28 +0000 |
commit | e09636e66f40fad3b03a8dd4b86b1a371c435631 (patch) | |
tree | 7b65a7c39bdcce933c0b6ad825b31a72f28fd631 /source/compiler/aslload.c | |
parent | b1dc29fa09052190e87f93cf1888edea9c42df24 (diff) |
Notes
Diffstat (limited to 'source/compiler/aslload.c')
-rw-r--r-- | source/compiler/aslload.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/source/compiler/aslload.c b/source/compiler/aslload.c index 454fa8f5f0db..c9fae99a9dd6 100644 --- a/source/compiler/aslload.c +++ b/source/compiler/aslload.c @@ -1404,9 +1404,16 @@ LdNamespace2Begin ( return (AE_OK); } - /* Save the target node within the alias node */ + /* Save the target node within the alias node as well as type information */ Node->Object = ACPI_CAST_PTR (ACPI_OPERAND_OBJECT, TargetNode); + Node->Type = TargetNode->Type; + if (Node->Type == ACPI_TYPE_METHOD) + { + /* Save the parameter count for methods */ + + Node->Value = TargetNode->Value; + } } return (AE_OK); |