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)
Sat, Aug 15, 7:15 AM
Unknown Object (File)
Thu, Aug 13, 1:46 PM
Unknown Object (File)
Wed, Aug 12, 2:39 PM
Unknown Object (File)
Fri, Aug 7, 5:01 PM
Unknown Object (File)
Thu, Aug 6, 12:17 PM
Unknown Object (File)
Wed, Aug 5, 2:20 AM
Unknown Object (File)
Fri, Jul 31, 8:09 PM
Unknown Object (File)
Fri, Jul 31, 12:02 AM
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