Refactor IDT gate setup to use explicit DPL and type fields

This commit is contained in:
2025-10-18 18:29:49 +02:00
parent 52afd31e77
commit 00b04f5405
6 changed files with 107 additions and 72 deletions

View File

@@ -67,7 +67,8 @@ namespace AR
IN PVOID Handler,
IN USHORT Selector,
IN USHORT Ist,
IN USHORT Access);
IN USHORT Dpl,
IN USHORT Type);
};
}

View File

@@ -72,7 +72,8 @@ namespace AR
IN PVOID Handler,
IN USHORT Selector,
IN USHORT Ist,
IN USHORT Access);
IN USHORT Dpl,
IN USHORT Type);
STATIC XTAPI VOID SetNonMaskableInterruptTssEntry(IN PKPROCESSOR_BLOCK ProcessorBlock,
IN PVOID KernelFaultStack);