fix: define the idt struct

This commit is contained in:
2024-09-30 15:44:34 +02:00
parent 0c540a11da
commit 8b73e8850a
2 changed files with 5 additions and 5 deletions

View File

@ -1,9 +1,9 @@
#pragma once
// doc : https://wiki.osdev.org/Interrupt_Descriptor_Table#IDTR
struct {
struct idt_descriptor {
uint16_t size;
uint32_t offset;
} __attribute__((packed)) idt_descriptor;
} __attribute__((packed));
#define IDT_SIZE 256