stos/amd64: Add IDT gate types

Signed-off-by: Chloe M. <chloe@mensia.org>
This commit is contained in:
Chloe M.
2026-06-23 16:53:05 +00:00
parent d337a3d55b
commit ec83f6c6a2
+16
View File
@@ -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_ */