acadia/sys/test.cpp
Drew Galbraith 23895b5c6c Spawn Processes using memory primitives rather than and elf loader.
This allows us to remove the temporary syscall for that style of process
spawn.
2023-06-07 00:04:53 -07:00

11 lines
215 B
C++

#include <mammoth/debug.h>
#include <mammoth/process.h>
constexpr uint64_t prog2 = 0x00000020'00000000;
int main() {
dbgln("Testing");
check(SpawnProcessFromElfRegion(prog2));
dbgln("Return");
return 0;
}