Fixed interrupts

Lol u need iretq in 64-bit mode. Works now!
This commit is contained in:
greg
2015-11-14 23:13:14 -08:00
parent 1551bdc7b2
commit fcfefa9a5e

View File

@@ -23,7 +23,7 @@ long_mode_start:
spin_loop_64:
mov rcx, 0xffff_ffff
mov rcx, 0xffff_fff
.loop:
dec rcx
cmp rcx, 0
@@ -76,7 +76,7 @@ call_interrupt:
sample_handler:
mov word [0x8b000], 0x4f72
call spin_loop_64
iret
iretq
setup_IDT:
lidt [idt64.pointer]