Page MenuHomeFreeBSD

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

Authored by olce on Tue, Feb 10, 4:58 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Mar 2, 2:43 PM
Unknown Object (File)
Wed, Feb 25, 12:11 AM
Unknown Object (File)
Wed, Feb 11, 7:20 AM
Unknown Object (File)
Wed, Feb 11, 2:24 AM
Unknown Object (File)
Wed, Feb 11, 12:22 AM
Unknown Object (File)
Tue, Feb 10, 8:39 PM
Unknown Object (File)
Tue, Feb 10, 7:17 PM
Unknown Object (File)
Tue, Feb 10, 7:04 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