summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2004-07-10 20:56:43 +0000
committermarcel <marcel@FreeBSD.org>2004-07-10 20:56:43 +0000
commitf4488175f3640130b2bfc0a88fd3fd363c32a44f (patch)
tree0ca221ceb8a2ad4dbd7c7daa8cc46c2e86c37257 /sys/dev/acpica
parent7fd8e711255acc5a2519a913d14f19fbd62c5637 (diff)
downloadFreeBSD-src-f4488175f3640130b2bfc0a88fd3fd363c32a44f.zip
FreeBSD-src-f4488175f3640130b2bfc0a88fd3fd363c32a44f.tar.gz
Update for the KDB framework:
o Call kdb_enter() instead of Debugger().
Diffstat (limited to 'sys/dev/acpica')
-rw-r--r--sys/dev/acpica/Osd/OsdDebug.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/acpica/Osd/OsdDebug.c b/sys/dev/acpica/Osd/OsdDebug.c
index 97b69bd..a7f7153 100644
--- a/sys/dev/acpica/Osd/OsdDebug.c
+++ b/sys/dev/acpica/Osd/OsdDebug.c
@@ -33,6 +33,7 @@
#include "opt_ddb.h"
#include <sys/param.h>
+#include <sys/kdb.h>
#include <sys/kernel.h>
#include <sys/bus.h>
#include <machine/bus.h>
@@ -79,12 +80,12 @@ AcpiOsSignal(UINT32 Function, void *Info)
fatal = (ACPI_SIGNAL_FATAL_INFO *)Info;
printf("ACPI fatal signal, type 0x%x code 0x%x argument 0x%x",
fatal->Type, fatal->Code, fatal->Argument);
- Debugger("AcpiOsSignal");
+ kdb_enter("AcpiOsSignal");
break;
case ACPI_SIGNAL_BREAKPOINT:
message = (char *)Info;
- Debugger(message);
+ kdb_enter(message);
break;
default:
OpenPOWER on IntegriCloud