os/include/kernel/interrupt.h

15 lines
316 B
C
Raw Normal View History

2024-07-11 08:56:52 +02:00
#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);