os/include/kernel/interrupt.h
2024-07-11 08:57:44 +02:00

15 lines
316 B
C

#include <stdint.h>
struct InterruptDescriptor
{
};
struct InterruptDescriptorTable
{
uint16_t limit; /* Size of IDT array - 1 */
struct InterruptDescriptor* base; /* Pointer to IDT array */
} __attribute__((packed));
void interrupt_initialize(struct InterruptDescriptorTable IDT);