stos/amd64: Add IDT gate types
Signed-off-by: Chloe M. <chloe@mensia.org>
This commit is contained in:
@@ -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_ */
|
||||
Reference in New Issue
Block a user