Page MenuHomeFreeBSD

acpi: Factor out message printing on failure of AcpiEnterSleepStatePrep()
ClosedPublic

Authored by olce on Feb 10 2026, 4:58 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Mar 8, 4:33 AM
Unknown Object (File)
Mar 2 2026, 2:43 PM
Unknown Object (File)
Feb 25 2026, 12:11 AM
Unknown Object (File)
Feb 11 2026, 7:20 AM
Unknown Object (File)
Feb 11 2026, 2:24 AM
Unknown Object (File)
Feb 11 2026, 12:22 AM
Unknown Object (File)
Feb 10 2026, 8:39 PM
Unknown Object (File)
Feb 10 2026, 7:17 PM
Subscribers

Details

Summary

To this end, create a small wrapper, acpi_EnterSleepStatePrep(), which
itself prints the failure message.

While here, when trying to power down (acpi_shutdown_final()), and
AcpiEnterSleepStatePrep() failed, print an additional message more
explicit about the power down request having failed.

MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable