Move sys/test to Yellowstone init process.

This commit is contained in:
Drew Galbraith 2023-06-07 11:18:35 -07:00
parent 6f81520918
commit 7c9d1075eb
8 changed files with 26 additions and 19 deletions

View file

@ -1,12 +0,0 @@
#include <mammoth/debug.h>
#include <mammoth/process.h>
#include <zcall.h>
int main() {
dbgln("Testing");
uint64_t vaddr;
check(ZAddressSpaceMap(Z_INIT_VMAS_SELF, 0, Z_INIT_BOOT_VMMO, &vaddr));
check(SpawnProcessFromElfRegion(vaddr));
dbgln("Return");
return 0;
}