#[unsafe(no_mangle)]pub static KERNEL: Kernel
The one and only kernel control block.
#[no_mangle] so that the Cortex-M assembly can reference it by symbol name (ldr r3, =KERNEL).
#[no_mangle]
ldr r3, =KERNEL