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
F158307900: D55225.diff
Sat, May 30, 11:29 PM
Unknown Object (File)
Sun, May 17, 6:03 PM
Unknown Object (File)
Sun, May 17, 6:00 PM
Unknown Object (File)
Thu, May 14, 6:12 AM
Unknown Object (File)
Wed, May 13, 4:14 PM
Unknown Object (File)
Mon, May 11, 9:47 AM
Unknown Object (File)
Sat, May 9, 11:11 PM
Unknown Object (File)
Sat, May 9, 11:07 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