aboutsummaryrefslogtreecommitdiff
path: root/startup.s
diff options
context:
space:
mode:
authorTianhao Wang <shrik3@riseup.net>2023-03-14 10:52:41 +0100
committerTianhao Wang <shrik3@riseup.net>2023-03-14 10:52:41 +0100
commit8a229f6467390c26ff1263df84896e1450fc9b76 (patch)
treecbc634640f1959d2bcc4e83bdeb720fd77e02c50 /startup.s
parent383c203d77404b4f74723d7a89be691744f41c25 (diff)
formatting startup.s
Diffstat (limited to 'startup.s')
-rw-r--r--startup.s6
1 files changed, 4 insertions, 2 deletions
diff --git a/startup.s b/startup.s
index 7b5bbff..4d4df62 100644
--- a/startup.s
+++ b/startup.s
@@ -109,7 +109,7 @@ startup:
cli ; disable interrupts
lgdt [gdt_80] ; set new segment descriptors
- ; global data segment
+ ; global data segment
mov eax, 3 * 0x8
; 0x8 is the length of each entry
; these registers point to 4th entry the GDT (see also the code there)
@@ -279,7 +279,9 @@ wrapper_body:
; pass interrupt number as the first parameter
mov rdi, rax
-; call guardian
+ ; call the interrupt handler wrapper here.
+ ; TODO implement it in rust then uncomment the line
+ ;call guardian
; restore volatile registers
pop r11