1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-10-13 16:42:08 +00:00
serenity/Kernel/Arch/x86/common
Andreas Kling 1e43292c3b Kernel: Introduce ProcessorSpecific<T> for per-CPU data structures
To add a new per-CPU data structure, add an ID for it to the
ProcessorSpecificDataID enum.

Then call ProcessorSpecific<T>::initialize() when you are ready to
construct the per-CPU data structure on the current CPU. It can then
be accessed via ProcessorSpecific<T>::get().

This patch replaces the existing hard-coded mechanisms for Scheduler
and MemoryManager per-CPU data structure.
2021-07-27 14:32:30 +02:00
..
ASM_wrapper.cpp Kernel: Move special sections into Sections.h 2021-06-24 00:38:23 +02:00
CPU.cpp Kernel: PANIC() instead of manually halting the processor in abort() 2021-07-26 02:29:25 +04:30
Interrupts.cpp Kernel: Remove invalid '#' format modifier for printing a faulting addr 2021-07-26 14:12:09 +04:30
Processor.cpp Kernel: Introduce ProcessorSpecific<T> for per-CPU data structures 2021-07-27 14:32:30 +02:00
ProcessorInfo.cpp Kernel: Add stubs for missing x86_64 functionality 2021-06-24 09:27:13 +02:00
SafeMem.cpp Kernel: Add missing .globl definitions 2021-07-23 22:13:43 +02:00
TrapFrame.cpp Kernel: Pull apart CPU.h 2021-06-24 00:38:23 +02:00