summaryrefslogtreecommitdiffstats
path: root/sys/contrib/dev/acpica/dbexec.c
diff options
context:
space:
mode:
authoriwasaki <iwasaki@FreeBSD.org>2002-07-30 19:33:39 +0000
committeriwasaki <iwasaki@FreeBSD.org>2002-07-30 19:33:39 +0000
commit3f86517f16a9cf970e93e483e90066da6eb323dd (patch)
tree2e03b6e287adc36cfd606a3f67a664bd5222e1a3 /sys/contrib/dev/acpica/dbexec.c
parent80fd7f7b7e25faf86d25d2c97b3a0dfbedb12552 (diff)
downloadFreeBSD-src-3f86517f16a9cf970e93e483e90066da6eb323dd.zip
FreeBSD-src-3f86517f16a9cf970e93e483e90066da6eb323dd.tar.gz
Vendor import of the Intel ACPI CA 20020725 drop.
Diffstat (limited to 'sys/contrib/dev/acpica/dbexec.c')
-rw-r--r--sys/contrib/dev/acpica/dbexec.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/contrib/dev/acpica/dbexec.c b/sys/contrib/dev/acpica/dbexec.c
index e2176ec..ddb8eb0 100644
--- a/sys/contrib/dev/acpica/dbexec.c
+++ b/sys/contrib/dev/acpica/dbexec.c
@@ -1,7 +1,7 @@
/*******************************************************************************
*
* Module Name: dbexec - debugger control method execution
- * $Revision: 41 $
+ * $Revision: 42 $
*
******************************************************************************/
@@ -322,6 +322,9 @@ AcpiDbExecute (
AcpiGbl_DbMethodInfo.Args = Args;
AcpiGbl_DbMethodInfo.Flags = Flags;
+ ReturnObj.Pointer = NULL;
+ ReturnObj.Length = ACPI_ALLOCATE_BUFFER;
+
AcpiDbExecuteSetup (&AcpiGbl_DbMethodInfo);
Status = AcpiDbExecuteMethod (&AcpiGbl_DbMethodInfo, &ReturnObj);
@@ -363,6 +366,11 @@ AcpiDbExecute (
AcpiGbl_DbMethodInfo.Pathname, ReturnObj.Pointer, ReturnObj.Length);
AcpiDbDumpObject (ReturnObj.Pointer, 1);
}
+ else
+ {
+ AcpiOsPrintf ("No return object from execution of %s\n",
+ AcpiGbl_DbMethodInfo.Pathname);
+ }
}
AcpiDbSetOutputDestination (ACPI_DB_CONSOLE_OUTPUT);
OpenPOWER on IntegriCloud