diff --git a/paw/stos/head/arch/amd64/idt.h b/paw/stos/head/arch/amd64/idt.h new file mode 100644 index 0000000..753e776 --- /dev/null +++ b/paw/stos/head/arch/amd64/idt.h @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2026, Chloe M. + * Provided under the BSD-3 clause. + * + * Description: Interrupt gate management + * Author: Chloe M. + */ + +#ifndef _MACHINE_IDT_H_ +#define _MACHINE_IDT_H_ 1 + +#define IDT_INT_GATE 0x8E +#define IDT_TRAP_GATE 0x8F +#define IDT_USER_GATE 0xEE + +#endif /* !_MACHINE_IDT_H_ */