Add a process spawn syscall and use it to start a proc.

Also add a skeleton VirtualMemory manager to be used per process.
This commit is contained in:
Drew Galbraith 2023-05-30 20:55:03 -07:00
parent 5bcf1f4e4a
commit 3c3341a90f
7 changed files with 125 additions and 6 deletions

View file

@ -1,7 +1,11 @@
#include "zcall.h"
constexpr uint64_t prog2 = 0x00000020'00000000;
int main() {
ZDebug("Testing");
ZProcessSpawn(prog2, 0x1000);
ZDebug("Return");
return 0;
}