aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/src/boot
diff options
context:
space:
mode:
authorFabian Imhof <fabian.imhof@ost.ch>2025-02-27 09:21:43 +0100
committerFabian Imhof <fabian.imhof@ost.ch>2025-02-27 09:21:43 +0100
commit3fb836101a2032e93f7b82c924ce208d7377a5ea (patch)
tree52f9aa1f5316b9938e74f43637c0641803fda01a /arch/x86_64/src/boot
parentcd42c21f2460751428b3e1b4ae07ea0b924967bc (diff)
parent2f1f0fa8b0dc1893219be68ab8bf653b5d6349fb (diff)
downloadteachos-3fb836101a2032e93f7b82c924ce208d7377a5ea.tar.xz
teachos-3fb836101a2032e93f7b82c924ce208d7377a5ea.zip
Merge branch 'feat_new_delete_override' into 'develop_ba'
new delete override See merge request teachos/kernel!4
Diffstat (limited to 'arch/x86_64/src/boot')
-rw-r--r--arch/x86_64/src/boot/boot.s2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86_64/src/boot/boot.s b/arch/x86_64/src/boot/boot.s
index 8d27ea1..2197dce 100644
--- a/arch/x86_64/src/boot/boot.s
+++ b/arch/x86_64/src/boot/boot.s
@@ -197,8 +197,10 @@ _start:
call enable_paging
call enable_sse
+ cli // Clears the interrupt flag during the GDT setup
lgdt (global_descriptor_table_pointer)
jmp $global_descriptor_table_code,$_transition_to_long_mode
+ // The interrupt flag is set in cpp after setting up the GDT
call halt