9 lines
184 B
C
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 |