diff options
author | Robert Moore <Robert.Moore@intel.com> | 2022-02-17 13:16:53 -0800 |
---|---|---|
committer | Robert Moore <Robert.Moore@intel.com> | 2022-02-17 13:16:53 -0800 |
commit | 44ab01315dc9b431df6ede6504f9261f706c62ed (patch) | |
tree | 1f4da113077a1af9d36f160fba4e3d9891062478 | |
parent | 738d7b0726e6c0458ef93c0a01c0377490888d1e (diff) | |
parent | 2a81fdbbef0a116dddb3f3fc860d02e3e64d7374 (diff) | |
download | acpica-44ab01315dc9b431df6ede6504f9261f706c62ed.tar.gz |
Merge branch 'master' of ssh://ssh.github.com/acpica/acpica
-rw-r--r-- | source/components/disassembler/dmwalk.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/source/components/disassembler/dmwalk.c b/source/components/disassembler/dmwalk.c index 9c5f49f9d..7d2429b72 100644 --- a/source/components/disassembler/dmwalk.c +++ b/source/components/disassembler/dmwalk.c @@ -959,7 +959,15 @@ AcpiDmDescendingOp ( NextOp->Common.DisasmFlags |= ACPI_PARSEOP_IGNORE; ASL_CV_CLOSE_PAREN (Op, Level); - /* Emit description comment for Name() with a predefined ACPI name */ + if (Op->Asl.Parent->Common.AmlOpcode == AML_NAME_OP) + { + /* + * Emit description comment showing the full ACPI name + * of the ResourceTemplate only if it was defined using a + * Name statement. + */ + AcpiDmPredefinedDescription (Op->Asl.Parent); + } AcpiDmPredefinedDescription (Op->Asl.Parent); |