Zero fill memory map before fetching it once again
All checks were successful
ci/woodpecker/push/build Pipeline was successful
All checks were successful
ci/woodpecker/push/build Pipeline was successful
This commit is contained in:
parent
aace0f39c4
commit
e2c7d0f919
@ -197,6 +197,9 @@ BlEnablePaging(IN PLIST_ENTRY MemoryMappings,
|
|||||||
ListEntry = ListEntry->Flink;
|
ListEntry = ListEntry->Flink;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Zero-fill buffer for EFI memory map */
|
||||||
|
RtlZeroMemory(MemoryMap, sizeof(EFI_MEMORY_MAP));
|
||||||
|
|
||||||
/* Get EFI memory map and prepare for exiting boot services */
|
/* Get EFI memory map and prepare for exiting boot services */
|
||||||
BlDbgPrint(L"Exiting EFI boot services\n");
|
BlDbgPrint(L"Exiting EFI boot services\n");
|
||||||
Status = BlGetMemoryMap(MemoryMap);
|
Status = BlGetMemoryMap(MemoryMap);
|
||||||
|
Loading…
Reference in New Issue
Block a user