First iteration of denali server
This commit is contained in:
parent
82b1a5c4db
commit
ffa2d97a64
18 changed files with 273 additions and 39 deletions
|
|
@ -1,3 +1,5 @@
|
|||
#include <denali/denali.h>
|
||||
#include <mammoth/channel.h>
|
||||
#include <mammoth/debug.h>
|
||||
#include <mammoth/process.h>
|
||||
#include <zcall.h>
|
||||
|
|
@ -8,7 +10,10 @@ uint64_t main() {
|
|||
dbgln("Yellowstone Initializing.");
|
||||
uint64_t vaddr;
|
||||
check(ZAddressSpaceMap(Z_INIT_VMAS_SELF, 0, Z_INIT_BOOT_VMMO, &vaddr));
|
||||
check(SpawnProcessFromElfRegion(vaddr));
|
||||
|
||||
Channel local;
|
||||
check(SpawnProcessFromElfRegion(vaddr, local));
|
||||
local.WriteStr("Hello!");
|
||||
|
||||
DumpPciEDevices();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue