42_KFS/headers/idt.h
2024-09-30 13:01:56 +02:00

9 lines
184 B
C

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