Wireframe for syscalls in place

This commit is contained in:
Drew Galbraith 2023-05-18 16:03:09 -07:00
parent d3024211a7
commit f86bbe6ea9
7 changed files with 130 additions and 0 deletions

View file

@ -7,6 +7,7 @@
#include "memory/paging_util.h"
#include "memory/physical_memory.h"
#include "scheduler/scheduler.h"
#include "syscall/syscall.h"
extern "C" void zion() {
InitGdt();
@ -17,6 +18,8 @@ extern "C" void zion() {
KernelHeap heap(0xFFFFFFFF'40000000, 0xFFFFFFFF'80000000);
phys_mem::InitPhysicalMemoryManager();
InitSyscall();
sched::InitScheduler();
Process p1;
p1.CreateThread();