summaryrefslogtreecommitdiffstats
path: root/sys/sparc64
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2004-07-10 23:06:41 +0000
committermarcel <marcel@FreeBSD.org>2004-07-10 23:06:41 +0000
commit0207025c1ce5931ae9d4fba2d37ca3c60646b307 (patch)
treefd9461e0f2da35dc947434c9f30af58216ef5380 /sys/sparc64
parent135e6579c6fe5d4953dcbe3077dd681223486153 (diff)
downloadFreeBSD-src-0207025c1ce5931ae9d4fba2d37ca3c60646b307.zip
FreeBSD-src-0207025c1ce5931ae9d4fba2d37ca3c60646b307.tar.gz
Update for the KDB framework:
o Call kdb_enter() instead of Debugger().
Diffstat (limited to 'sys/sparc64')
-rw-r--r--sys/sparc64/pci/psycho.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/sparc64/pci/psycho.c b/sys/sparc64/pci/psycho.c
index 83466f9..aa002cc 100644
--- a/sys/sparc64/pci/psycho.c
+++ b/sys/sparc64/pci/psycho.c
@@ -42,6 +42,7 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/bus.h>
+#include <sys/kdb.h>
#include <sys/kernel.h>
#include <sys/module.h>
#include <sys/malloc.h>
@@ -711,7 +712,7 @@ psycho_powerfail(void *arg)
#ifdef DEBUGGER_ON_POWERFAIL
struct psycho_softc *sc = (struct psycho_softc *)arg;
- Debugger("powerfail");
+ kdb_enter("powerfail");
PSYCHO_WRITE8(sc, PSR_POWER_INT_CLR, 0);
#else
printf("Power Failure Detected: Shutting down NOW.\n");
OpenPOWER on IntegriCloud