mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
Kernel: Mark a handful of things in CPU.cpp as READONLY_AFTER_INIT
This commit is contained in:
parent
99f596fd51
commit
8ee42e47df
Notes:
sideshowbarker
2024-07-18 22:18:46 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/8ee42e47df6
1 changed files with 3 additions and 3 deletions
|
@ -784,11 +784,11 @@ u32 read_dr6()
|
|||
return dr6;
|
||||
}
|
||||
|
||||
FPUState Processor::s_clean_fpu_state;
|
||||
READONLY_AFTER_INIT FPUState Processor::s_clean_fpu_state;
|
||||
|
||||
static Vector<Processor*>* s_processors;
|
||||
READONLY_AFTER_INIT static Vector<Processor*>* s_processors;
|
||||
static SpinLock s_processor_lock;
|
||||
volatile u32 Processor::g_total_processors;
|
||||
READONLY_AFTER_INIT volatile u32 Processor::g_total_processors;
|
||||
static volatile bool s_smp_enabled;
|
||||
|
||||
Vector<Processor*>& Processor::processors()
|
||||
|
|
Loading…
Reference in a new issue