diff options
Diffstat (limited to 'src/idt/idt.asm')
| -rw-r--r-- | src/idt/idt.asm | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/idt/idt.asm b/src/idt/idt.asm new file mode 100644 index 0000000..998a242 --- /dev/null +++ b/src/idt/idt.asm @@ -0,0 +1,13 @@ +section .asm + +global idt_load: + +idt_load: + push ebp + mov ebp, esp + + mov ebx, [ebp + 8] + lidt [ebx] + + pop ebp + ret |
