#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