mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 03:17:34 +00:00
Kernel: Split initialization of Processor structure
We need to very early on initialize the Processor structure so that we can use RecursiveSpinLock early on.
This commit is contained in:
parent
137e1dc7bd
commit
57b61b2dde
3 changed files with 25 additions and 7 deletions
|
@ -639,6 +639,7 @@ class Processor {
|
|||
static Vector<Processor*>& processors();
|
||||
|
||||
public:
|
||||
void early_initialize(u32 cpu);
|
||||
void initialize(u32 cpu);
|
||||
|
||||
Descriptor& get_gdt_entry(u16 selector);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue