\r
for ( IndexOfPml5Entries = 0\r
; IndexOfPml5Entries < NumberOfPml5EntriesNeeded\r
- ; IndexOfPml5Entries++, PageMapLevel5Entry++) {\r
+ ; IndexOfPml5Entries++) {\r
//\r
// Each PML5 entry points to a page of PML4 entires.\r
// So lets allocate space for them and fill them in in the IndexOfPml4Entries loop.\r
PageMapLevel5Entry->Uint64 = (UINT64) (UINTN) PageMapLevel4Entry | AddressEncMask;\r
PageMapLevel5Entry->Bits.ReadWrite = 1;\r
PageMapLevel5Entry->Bits.Present = 1;\r
+ PageMapLevel5Entry++;\r
}\r
\r
for ( IndexOfPml4Entries = 0\r