1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:38:11 +00:00

Kernel: Mark a handful of things in init.cpp as READONLY_AFTER_INIT

This commit is contained in:
Andreas Kling 2021-02-14 17:40:52 +01:00
parent 49f463f557
commit 7a78a4915a

View file

@ -102,7 +102,7 @@ extern "C" void init_finished(u32 cpu);
extern "C" [[noreturn]] void init_ap(u32 cpu, Processor* processor_info);
extern "C" [[noreturn]] void init();
VirtualConsole* tty0;
READONLY_AFTER_INIT VirtualConsole* tty0;
static Processor s_bsp_processor; // global but let's keep it "private"