diff options
| author | Carlos Maiolino <[email protected]> | 2025-07-26 15:32:32 +0200 |
|---|---|---|
| committer | Carlos Maiolino <[email protected]> | 2025-08-01 13:07:38 +0200 |
| commit | 57d8e2b236c7a185bdd941c247ef0dcc5961a24e (patch) | |
| tree | 1d1f496510c77422647f1513c3ca6f85e0110689 /src/idt/idt.asm | |
| parent | 80ac430366d65ef89a078832380a021308bbbfdf (diff) | |
Implement interrupt descriptor table
Signed-off-by: Carlos Maiolino <[email protected]>
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 |
