aboutsummaryrefslogtreecommitdiff
path: root/startup.s
diff options
context:
space:
mode:
authorTianhao Wang <wth@riseup.net>2024-02-01 15:10:11 +0100
committerTianhao Wang <shrik3@mailbox.org>2024-06-11 15:13:37 +0200
commitc01e440d014253fd4cae9f642c949720a54baf4b (patch)
tree68d9fc26ccf2f124702b2c2a000892c344f203fe /startup.s
parent753955dbb4e6c77b9c56c659fe766a867c575023 (diff)
basic interrupt/PIC support
Diffstat (limited to 'startup.s')
-rw-r--r--startup.s4
1 files changed, 2 insertions, 2 deletions
diff --git a/startup.s b/startup.s
index 4d4df62..fb73dcb 100644
--- a/startup.s
+++ b/startup.s
@@ -60,7 +60,7 @@ pagetable_end: equ 0x200000
; functions from the C parts of the system
[EXTERN _entry]
-;[EXTERN guardian]
+[EXTERN guardian]
; addresses provided by the compiler
[EXTERN ___BSS_START__]
@@ -281,7 +281,7 @@ wrapper_body:
mov rdi, rax
; call the interrupt handler wrapper here.
; TODO implement it in rust then uncomment the line
- ;call guardian
+ call guardian
; restore volatile registers
pop r11