Add IDT related definitions
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
2023-02-01 20:14:10 +01:00
parent 5bbda188c6
commit 21fbe6febe
2 changed files with 13 additions and 4 deletions

View File

@@ -56,10 +56,10 @@
#define KIDT_ACCESS_RING3 0x60
/* IDT gate types */
#define KIDT_TYPE_TASK 0x05
#define KIDT_TYPE_CALL 0x0C
#define KIDT_TYPE_INTERRUPT 0x0E
#define KIDT_TYPE_TRAP 0x0F
#define KIDT_TASK 0x05
#define KIDT_CALL 0x0C
#define KIDT_INTERRUPT 0x0E
#define KIDT_TRAP 0x0F
/* TSS Offsets */
#define KTSS_ESP0 0x04