summaryrefslogtreecommitdiff
path: root/stage3/isr.lua
diff options
context:
space:
mode:
authorLizzy Fleckenstein <lizzy@vlhl.dev>2023-12-19 09:19:43 +0100
committerLizzy Fleckenstein <lizzy@vlhl.dev>2023-12-19 09:24:31 +0100
commit3102878c86c810c0bf877d72aceefeb28a44271d (patch)
treeb6232392ff6dc2903567a79828b4a713ababc76f /stage3/isr.lua
parenta6b460d3b1b0909e0c7b388f1a55365bf24c6b7b (diff)
downloadcuddles-3102878c86c810c0bf877d72aceefeb28a44271d.tar.xz
improve debugging
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