diff options
Diffstat (limited to 'source/components/debugger/dbmethod.c')
-rw-r--r-- | source/components/debugger/dbmethod.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/components/debugger/dbmethod.c b/source/components/debugger/dbmethod.c index 6b25f62..fe1c3d5 100644 --- a/source/components/debugger/dbmethod.c +++ b/source/components/debugger/dbmethod.c @@ -271,6 +271,7 @@ AcpiDbSetMethodData ( break; default: + break; } @@ -501,25 +502,30 @@ AcpiDbWalkForExecute ( switch (ArgType) { case ACPI_TYPE_INTEGER: + ThisParam->Integer.Value = 1; break; case ACPI_TYPE_STRING: + ThisParam->String.Pointer = "This is the default argument string"; ThisParam->String.Length = ACPI_STRLEN (ThisParam->String.Pointer); break; case ACPI_TYPE_BUFFER: + ThisParam->Buffer.Pointer = (UINT8 *) Params; /* just a garbage buffer */ ThisParam->Buffer.Length = 48; break; case ACPI_TYPE_PACKAGE: + ThisParam->Package.Elements = NULL; ThisParam->Package.Count = 0; break; default: + AcpiOsPrintf ("%s: Unsupported argument type: %u\n", Pathname, ArgType); break; |