Implement initial fork syscall

This commit is contained in:
Justin C. Miller
2019-03-09 12:18:21 -08:00
parent 241e1dacb0
commit 97ac3c09fa
12 changed files with 143 additions and 25 deletions

View File

@@ -6,6 +6,10 @@ _start:
int 0xee
mov r12, rax ; save pid to r12
mov rax, 8 ; FORK syscall
int 0xee
mov r10, rax
mov rax, 1 ; DEBUG syscall
int 0xee