Page MenuHomeFreeBSD

linuxkpi: Define `system_state`
ClosedPublic

Authored by dumbbell on Apr 22 2026, 8:19 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Oct 5, 9:04 AM
Unknown Object (File)
Sun, Oct 4, 6:50 PM
Unknown Object (File)
Thu, Oct 1, 10:02 PM
Unknown Object (File)
Sun, Sep 27, 11:21 AM
Unknown Object (File)
Mon, Sep 21, 12:38 PM
Unknown Object (File)
Sep 2 2026, 9:59 AM
Unknown Object (File)
Sep 2 2026, 2:10 AM
Unknown Object (File)
Aug 30 2026, 6:23 PM
Subscribers

Details

Summary

This is a global variable used to track the state of the system, like booting, running, halting and so on.

This variable is based on the enum system_states enumeration.

For now, always set system_state to SYSTEM_RUNNING.

The amdgpu DRM driver started this in Linux 6.12.x.

This is part of the update of DRM drivers to Linux 6.12.81.

Sponsored by: The FreeBSD Foundation

Diff Detail

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