Manage KernelStacks separately rather than just allocing bytes.

Create a global KernelStackManager that will handle the relevant allocs.
This commit is contained in:
Drew Galbraith 2023-05-30 21:27:20 -07:00
parent 3c3341a90f
commit f22dd66c8d
9 changed files with 104 additions and 24 deletions

View file

@ -9,8 +9,10 @@ add_executable(zion
loader/elf_loader.cpp
loader/init_loader.cpp
memory/kernel_heap.cpp
memory/kernel_stack_manager.cpp
memory/paging_util.cpp
memory/physical_memory.cpp
memory/virtual_memory.cpp
scheduler/context_switch.s
scheduler/jump_user_space.s
scheduler/process.cpp