Don't enter the debugger when executing an AML breakpoint instruction

unless ACPI_DEBUG is defined.  Users don't typically care about errant
breakpoint instructions.  The HP Pavilion 7915 has this in its PCI0
_INI method for rev 0x6040000 of the RSDT.
This commit is contained in:
Nate Lawson 2004-09-02 04:28:05 +00:00
parent b37ff7a592
commit 2df0b34b24
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=134628

View file

@ -73,8 +73,7 @@ ACPI_STATUS
AcpiOsSignal(UINT32 Function, void *Info)
{
ACPI_SIGNAL_FATAL_INFO *fatal;
char *message;
switch (Function) {
case ACPI_SIGNAL_FATAL:
fatal = (ACPI_SIGNAL_FATAL_INFO *)Info;
@ -82,10 +81,11 @@ AcpiOsSignal(UINT32 Function, void *Info)
fatal->Type, fatal->Code, fatal->Argument);
kdb_enter("AcpiOsSignal");
break;
case ACPI_SIGNAL_BREAKPOINT:
message = (char *)Info;
kdb_enter(message);
#ifdef ACPI_DEBUG
kdb_enter((char *)Info);
#endif
break;
default: