mirror of
https://github.com/HyperDbg/HyperDbg.git
synced 2026-07-15 12:09:34 +00:00
fix MTRR range loop typo
This commit is contained in:
parent
47dae1da6d
commit
ed5ab28aff
1 changed files with 3 additions and 3 deletions
|
|
@ -248,9 +248,9 @@ EptBuildMtrrMap(VOID)
|
|||
for (unsigned int j = 0; j < 8; j++)
|
||||
{
|
||||
Descriptor = &g_EptState->MemoryRanges[g_EptState->NumberOfEnabledMemoryRanges++];
|
||||
Descriptor->MemoryType = K16Types.s.Types[i];
|
||||
Descriptor->PhysicalBaseAddress = K16Base + (K16Size * i);
|
||||
Descriptor->PhysicalEndAddress = K16Base + (K16Size * i) + (K16Size - 1);
|
||||
Descriptor->MemoryType = K16Types.s.Types[j];
|
||||
Descriptor->PhysicalBaseAddress = K16Base + (K16Size * j);
|
||||
Descriptor->PhysicalEndAddress = K16Base + (K16Size * j) + (K16Size - 1);
|
||||
Descriptor->FixedRange = TRUE;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue