mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-03 23:28:58 +00:00
Only enter the debugger on a Fatal op if this is a debug build of the
acpi module. Also clean up print of args a little. This was accidentally committed as 1.9.2.3 in the stable branch. Since it is harmless, I will let the "insta-MFC" stand unless there is a problem.
This commit is contained in:
parent
eef1df45d3
commit
929a5cf650
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=167573
|
@ -78,9 +78,11 @@ AcpiOsSignal(UINT32 Function, void *Info)
|
|||
switch (Function) {
|
||||
case ACPI_SIGNAL_FATAL:
|
||||
fatal = (ACPI_SIGNAL_FATAL_INFO *)Info;
|
||||
printf("ACPI fatal signal, type 0x%x code 0x%x argument 0x%x",
|
||||
printf("ACPI fatal signal, type 0x%x code 0x%x argument 0x%x",
|
||||
fatal->Type, fatal->Code, fatal->Argument);
|
||||
#ifdef ACPI_DEBUG
|
||||
kdb_enter("AcpiOsSignal");
|
||||
#endif
|
||||
break;
|
||||
|
||||
case ACPI_SIGNAL_BREAKPOINT:
|
||||
|
|
Loading…
Reference in a new issue