diff options
Diffstat (limited to 'boot/fake_syscall_entry.S')
| -rw-r--r-- | boot/fake_syscall_entry.S | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/boot/fake_syscall_entry.S b/boot/fake_syscall_entry.S index 8a3f8c8..9daa0d5 100644 --- a/boot/fake_syscall_entry.S +++ b/boot/fake_syscall_entry.S @@ -11,6 +11,11 @@ fake_syscall_start: jmp .L_fake_syscall_return /* + Fake syscall mechanism + + The Kjarna kernel runtime loader/linker is started by the Kjarna boot kernel and supported + by a subset of system calls in order to load files and place them in virtual memory. + SYSCALL STACK FRAME - FROM LOWER TO HIGHER ADDRESS 0 pad @@ -53,7 +58,7 @@ fake_syscall_entry: push %rbp mov %rsp, %rbp - add $64, %rsp + add $72, %rsp popfq mov %rbp, %rsp pop %rbp |
