Add a skeleton framework for capabilities.
Use the first capability to spawn a child process.
This commit is contained in:
parent
09b8136ef9
commit
69b5cd001f
9 changed files with 97 additions and 4 deletions
|
|
@ -12,8 +12,9 @@ uint64_t ZDebug(const char* message) {
|
|||
return SysCall1(Z_DEBUG_PRINT, message);
|
||||
}
|
||||
|
||||
uint64_t ZProcessSpawn(uint64_t elf_base, uint64_t elf_size) {
|
||||
uint64_t ZProcessSpawn(uint64_t cap_id, uint64_t elf_base, uint64_t elf_size) {
|
||||
ZProcessSpawnReq req{
|
||||
.cap_id = cap_id,
|
||||
.elf_base = elf_base,
|
||||
.elf_size = elf_size,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue