From e09636e66f40fad3b03a8dd4b86b1a371c435631 Mon Sep 17 00:00:00 2001 From: Jung-uk Kim Date: Thu, 8 Oct 2020 16:44:28 +0000 Subject: Import ACPICA 20200925. --- source/compiler/aslload.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'source/compiler/aslload.c') 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); -- cgit v1.2.3