diff options
author | Lizzy Fleckenstein <lizzy@vlhl.dev> | 2023-12-19 09:19:43 +0100 |
---|---|---|
committer | Lizzy Fleckenstein <lizzy@vlhl.dev> | 2023-12-19 09:24:31 +0100 |
commit | 3102878c86c810c0bf877d72aceefeb28a44271d (patch) | |
tree | b6232392ff6dc2903567a79828b4a713ababc76f /stage3/isr.lua | |
parent | a6b460d3b1b0909e0c7b388f1a55365bf24c6b7b (diff) | |
download | cuddles-3102878c86c810c0bf877d72aceefeb28a44271d.tar.xz |
improve debugging
Diffstat (limited to 'stage3/isr.lua')
-rw-r--r-- | stage3/isr.lua | 48 |
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 |