[denali] Get all caps from the init port.
This allows us to remove the bootstrap capabilities for good woo hoo!
This commit is contained in:
parent
6e86ce67f0
commit
7dcbbd671e
11 changed files with 62 additions and 28 deletions
|
|
@ -1,4 +1,5 @@
|
|||
#include <zcall.h>
|
||||
#include <zglobal.h>
|
||||
#include <zinit.h>
|
||||
|
||||
#include "stdlib.h"
|
||||
|
|
@ -15,7 +16,7 @@ class NaiveAllocator {
|
|||
if (err != 0) {
|
||||
ZProcessExit(err);
|
||||
}
|
||||
err = ZAddressSpaceMap(Z_INIT_VMAS_SELF, 0, vmmo_cap, &next_addr_);
|
||||
err = ZAddressSpaceMap(gSelfVmasCap, 0, vmmo_cap, &next_addr_);
|
||||
max_addr_ = next_addr_ + kSize;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue