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, Jul 27, 1:41 PM
Unknown Object (File)
Mon, Jul 27, 12:33 PM
Unknown Object (File)
Mon, Jul 27, 11:50 AM
Unknown Object (File)
Thu, Jul 23, 4:52 AM
Unknown Object (File)
Tue, Jul 21, 1:07 AM
Unknown Object (File)
Mon, Jul 20, 11:42 AM
Unknown Object (File)
Sat, Jul 18, 9:24 PM
Unknown Object (File)
Wed, Jul 15, 7:19 AM
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