Zero fill memory map before fetching it once again
所有检测均成功
ci/woodpecker/push/build Pipeline was successful
所有检测均成功
ci/woodpecker/push/build Pipeline was successful
这个提交包含在:
@@ -168,7 +168,7 @@ BlEnablePaging(IN PLIST_ENTRY MemoryMappings,
|
||||
return Status;
|
||||
}
|
||||
|
||||
/* Iterate through and map all the mappings*/
|
||||
/* Iterate through and map all the mappings */
|
||||
BlDbgPrint(L"Mapping and dumping EFI memory:\n");
|
||||
ListEntry = MemoryMappings->Flink;
|
||||
while(ListEntry != MemoryMappings)
|
||||
@@ -197,6 +197,9 @@ BlEnablePaging(IN PLIST_ENTRY MemoryMappings,
|
||||
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 */
|
||||
BlDbgPrint(L"Exiting EFI boot services\n");
|
||||
Status = BlGetMemoryMap(MemoryMap);
|
||||
|
||||
在新工单中引用
屏蔽一个用户