acadia/sys/yellowstone/yellowstone.cpp

14 lines
329 B
C++
Raw Normal View History

#include <mammoth/debug.h>
#include <mammoth/process.h>
#include <zcall.h>
uint64_t main() {
dbgln("Yellowstone Initializing.");
uint64_t vaddr;
check(ZAddressSpaceMap(Z_INIT_VMAS_SELF, 0, Z_INIT_BOOT_VMMO, &vaddr));
check(SpawnProcessFromElfRegion(vaddr));
dbgln("Yellowstone Finished Successfully.");
return 0;
}