benilla-re systems structs docs

s_contextTableGuard

global · core

Address
0xcf76cc · 4 bytes, up to 0xcf76cf
Type
uint32_t
Meaning
Holds the guard bit of the context table's one-time setup
Confidence
verified, proof two
Finding
core/loop#static-initializers

Finding: Static initializers in core: the frame loop

The scheduler's object files run 12 static initializers from the C runtime table. Each file copies +∞ into a global and stores 2π and 1/2π as floats, as every object file using the shared maths header does. The others build the context table 0xcf7700, the slot list 0x883ee8, the events 0x883ec4 and 0x883f24, the slot lock and the thread array (Slot lock and thread array), each registering a matching destructor with _atexit.

The derivation is in the doc.