mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:07:34 +00:00
Kernel: Implement software context switching and Processor structure
Moving certain globals into a new Processor structure for each CPU allows us to eventually run an instance of the scheduler on each CPU.
This commit is contained in:
parent
10407061d2
commit
fb41d89384
22 changed files with 1002 additions and 513 deletions
|
@ -87,6 +87,7 @@ private:
|
|||
|
||||
OwnPtr<Region> m_apic_base;
|
||||
NonnullOwnPtrVector<Region> m_apic_ap_stacks;
|
||||
Vector<Processor> m_ap_processor_info;
|
||||
AK::Atomic<u32> m_apic_ap_count{0};
|
||||
|
||||
static PhysicalAddress get_base();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue