1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-13 10:02:38 +00:00

Update for the KDB framework:

o  Call kdb_enter() instead of Debugger().
This commit is contained in:
Marcel Moolenaar 2004-07-10 20:56:43 +00:00
parent bc1c6224b7
commit 124ea6b5ac
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=131910
2 changed files with 5 additions and 3 deletions

View File

@ -66,6 +66,7 @@
#ifdef __FreeBSD__
#include <sys/device_port.h>
#include <sys/kdb.h>
#include <cam/cam.h>
#include <cam/cam_ccb.h>
#include <cam/cam_sim.h>
@ -86,7 +87,7 @@
#ifdef __FreeBSD__
#undef MSG_IDENTIFY
#define SCSI_LOW_DEBUGGER(dev) Debugger((dev))
#define SCSI_LOW_DEBUGGER(dev) kdb_enter(dev)
#define SCSI_LOW_DELAY(mu) DELAY((mu))
#define SCSI_LOW_SPLSCSI splcam
#define SCSI_LOW_BZERO(pt, size) bzero((pt), (size))

View File

@ -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: