proc_quit () and proc_test () syscalls
All checks were successful
Build documentation / build-and-deploy (push) Successful in 43s

This commit is contained in:
2026-01-03 12:21:56 +01:00
parent 124a7f7215
commit cf04e3db18
13 changed files with 130 additions and 7 deletions

View File

@@ -15,16 +15,31 @@
amd64_intr ## n:; \
x(n); \
cli; \
;\
push_regs; \
;\
cld; \
;\
movq %rsp, %rdi; \
;\
movq %cr3, %rax; \
pushq %rax; \
;\
movq %rsp, %rbp; \
;\
subq $8, %rsp; \
andq $~0xF, %rsp; \
;\
callq amd64_intr_handler; \
;\
movq %rbp, %rsp; \
;\
popq %rax; \
movq %rax, %cr3; \
;\
pop_regs; \
addq $16, %rsp; \
;\
iretq;