Wireframe for syscalls in place
This commit is contained in:
parent
d3024211a7
commit
f86bbe6ea9
7 changed files with 130 additions and 0 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue