Do not hardcode I/O map base
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
Rafal Kupiec 2023-01-30 22:38:41 +01:00
parent a761d3125a
commit 892c9eca86
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4

View File

@ -190,7 +190,7 @@ ArpInitializeTss(IN PKPROCESSOR_BLOCK ProcessorBlock)
ProcessorBlock->TssBase->IntDirectionMap[4] = 0x18;
/* Set I/O map base and disable traps */
ProcessorBlock->TssBase->IoMapBase = 0x68;
ProcessorBlock->TssBase->IoMapBase = sizeof(KTSS);
ProcessorBlock->TssBase->Flags = 0;
/* Set LDT and SS */