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
F162924686: D55225.id172216.diff
Sat, Jul 18, 8:48 AM
F162899623: D55225.diff
Sat, Jul 18, 3:23 AM
Unknown Object (File)
Wed, Jul 15, 7:07 AM
Unknown Object (File)
Wed, Jul 15, 7:07 AM
Unknown Object (File)
Wed, Jul 15, 2:26 AM
Unknown Object (File)
Tue, Jun 30, 9:32 PM
Unknown Object (File)
Tue, Jun 23, 12:31 PM
Unknown Object (File)
Mon, Jun 22, 10:26 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