aboutsummaryrefslogtreecommitdiff
path: root/source/components/debugger/dbnames.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/components/debugger/dbnames.c')
-rw-r--r--source/components/debugger/dbnames.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/source/components/debugger/dbnames.c b/source/components/debugger/dbnames.c
index 2d2a088c9a1f..68a92d5929b1 100644
--- a/source/components/debugger/dbnames.c
+++ b/source/components/debugger/dbnames.c
@@ -46,6 +46,7 @@
#include "accommon.h"
#include "acnamesp.h"
#include "acdebug.h"
+#include "acpredef.h"
#ifdef ACPI_DEBUGGER
@@ -436,7 +437,7 @@ AcpiDbWalkForPredefinedNames (
char *Pathname;
- Predefined = AcpiNsCheckForPredefinedName (Node);
+ Predefined = AcpiUtMatchPredefinedMethod (Node->Name.Ascii);
if (!Predefined)
{
return (AE_OK);
@@ -450,13 +451,14 @@ AcpiDbWalkForPredefinedNames (
/* If method returns a package, the info is in the next table entry */
- if (Predefined->Info.ExpectedBtypes & ACPI_BTYPE_PACKAGE)
+ if (Predefined->Info.ExpectedBtypes & ACPI_RTYPE_PACKAGE)
{
Package = Predefined + 1;
}
AcpiOsPrintf ("%-32s arg %X ret %2.2X", Pathname,
- Predefined->Info.ParamCount, Predefined->Info.ExpectedBtypes);
+ (Predefined->Info.ArgumentList & METHOD_ARG_MASK),
+ Predefined->Info.ExpectedBtypes);
if (Package)
{