summaryrefslogtreecommitdiff
path: root/stage3/isr.lua
diff options
context:
space:
mode:
Diffstat (limited to 'stage3/isr.lua')
-rw-r--r--stage3/isr.lua48
1 files changed, 30 insertions, 18 deletions
diff --git a/stage3/isr.lua b/stage3/isr.lua
index 83515a5..3c88c5e 100644
--- a/stage3/isr.lua
+++ b/stage3/isr.lua
@@ -25,29 +25,41 @@ end
print([[
isr_common:
- push r11
- push r10
- push r9
- push r8
- push rdi
- push rsi
- push rcx
- push rdx
- push rax
+ push r15
+ push r14
+ push r13
+ push r12
+ push r11
+ push r10
+ push r9
+ push r8
+ push rsi
+ push rdi
+ push rbp
+ push rdx
+ push rcx
+ push rbx
+ push rax
cld
mov rdi, rsp
call interrupt_handler
- pop rax
- pop rdx
- pop rcx
- pop rsi
- pop rdi
- pop r8
- pop r9
- pop r10
- pop r11
+ pop rax
+ pop rbx
+ pop rcx
+ pop rdx
+ pop rbp
+ pop rdi
+ pop rsi
+ pop r8
+ pop r9
+ pop r10
+ pop r11
+ pop r12
+ pop r13
+ pop r14
+ pop r15
add rsp, 16