Add a threading syscall API.
This commit is contained in:
parent
e2aad55a8a
commit
ef8eb5d993
14 changed files with 235 additions and 30 deletions
|
|
@ -6,7 +6,7 @@ constexpr uint64_t prog2 = 0x00000020'00000000;
|
|||
|
||||
int main() {
|
||||
ZDebug("Testing");
|
||||
uint64_t err = ZProcessSpawnElf(0x100, prog2, 0x1000);
|
||||
uint64_t err = ZProcessSpawnElf(Z_INIT_PROC_SELF, prog2, 0x2000);
|
||||
if (err != Z_OK) {
|
||||
ZDebug("Error");
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue