NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/56554: ACPI Debug: "_TMP Method"
The following reply was made to PR kern/56554; it has been noted by GNATS.
From: Andreas Gustafsson <gson%gson.org@localhost>
To: Christos Zoulas <christos%zoulas.com@localhost>
Cc: gnats-bugs%netbsd.org@localhost
Subject: Re: kern/56554: ACPI Debug: "_TMP Method"
Date: Sun, 19 Dec 2021 18:23:19 +0200
Christos Zoulas wrote:
> Looking at the string "ACPI Debug", it occurs twice in dist/executer/exdebug.c.
> in function AcpiExDoDebugObject. This function returns immediately if
> AcpiGbl_EnableAmlDebugObject is 0
That's not the whole condition; the actual condition is:
if (!AcpiGbl_EnableAmlDebugObject &&
!(AcpiDbgLevel & ACPI_LV_DEBUG_OBJECT))
ddb shows:
db{0}> x/bx AcpiGbl_EnableAmlDebugObject
netbsd:AcpiGbl_EnableAmlDebugObject: 0
db{0}> x/lx AcpiDbgLevel
netbsd:AcpiDbgLevel: b
ACPI_LV_DEBUG_OBJECT is 0x2, so (AcpiDbgLevel & ACPI_LV_DEBUG_OBJECT)
is true, and the condition as a whole is false.
--
Andreas Gustafsson, gson%gson.org@localhost
Home |
Main Index |
Thread Index |
Old Index