Move sys/test to Yellowstone init process.
This commit is contained in:
parent
6f81520918
commit
7c9d1075eb
8 changed files with 26 additions and 19 deletions
13
sys/yellowstone/yellowstone.cpp
Normal file
13
sys/yellowstone/yellowstone.cpp
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue