Update for the KDB framework:
o Call kdb_enter() instead of Debugger().
This commit is contained in:
parent
7fd8e71125
commit
f4488175f3
@ -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))
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user