Page MenuHomeFreeBSD

linuxkpi: Define `system_state`
ClosedPublic

Authored by dumbbell on Apr 22 2026, 8:19 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Aug 16, 2:40 AM
Unknown Object (File)
Wed, Aug 12, 11:53 PM
Unknown Object (File)
Wed, Aug 12, 12:09 AM
Unknown Object (File)
Tue, Aug 11, 11:39 PM
Unknown Object (File)
Tue, Aug 11, 11:30 PM
Unknown Object (File)
Sun, Aug 9, 7:54 PM
Unknown Object (File)
Sun, Aug 9, 5:01 PM
Unknown Object (File)
Sun, Aug 9, 2:02 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