diff options
| author | Fabian Imhof <fabian.imhof@ost.ch> | 2025-02-27 07:58:01 +0000 |
|---|---|---|
| committer | Fabian Imhof <fabian.imhof@ost.ch> | 2025-02-27 07:58:01 +0000 |
| commit | 2f1f0fa8b0dc1893219be68ab8bf653b5d6349fb (patch) | |
| tree | 52f9aa1f5316b9938e74f43637c0641803fda01a | |
| parent | dc86ba14f5d9cae44f9922f7a9627369e4a3172e (diff) | |
| download | teachos-2f1f0fa8b0dc1893219be68ab8bf653b5d6349fb.tar.xz teachos-2f1f0fa8b0dc1893219be68ab8bf653b5d6349fb.zip | |
clear interrupt flag
| -rw-r--r-- | arch/x86_64/src/boot/boot.s | 2 |
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 |
