Hi,
I'm facing issues with BSA TC #103 : "PE must access all NS addr space". I have then 2 questions :
From
|
Status = gBS->GetMemoryMap (&MemoryMapSize, MemoryMap, &MapKey, &DescriptorSize, &DescriptorVersion); |
1/ Why did you prefer AllocatePages versus AllocatePool ?
2/In the Uefi Shell command library, MemoryMapSize is increased between 2 calls of GetMemoryMap : https://github.com/tianocore/edk2/blob/db38e5031a154897a0847c63072f657d00293820/ShellPkg/Library/UefiShellDebug1CommandsLib/MemMap.c#L385
Else MemoryMapSize is not set correctly in https://github.com/tianocore/edk2/blob/30b1cb6cabb95f1c385564957a7246882f828519/MdeModulePkg/Core/Dxe/Mem/Page.c#L2222
Would it be necessary to increase MemoryMapSize in pal_memory_create_info_table() as well ?
Else, second try of GetMemorySize still fails with returned status : EFI_BUFFER_TOO_SMALL, et TC #103 is failed.
Thanks in advance for your help.
Best regards,
Fabrice
Hi,
I'm facing issues with BSA TC #103 : "PE must access all NS addr space". I have then 2 questions :
From
sysarch-acs/pal/uefi_acpi/src/pal_peripherals.c
Line 288 in 44ddac5
1/ Why did you prefer AllocatePages versus AllocatePool ?
2/In the Uefi Shell command library, MemoryMapSize is increased between 2 calls of GetMemoryMap : https://github.com/tianocore/edk2/blob/db38e5031a154897a0847c63072f657d00293820/ShellPkg/Library/UefiShellDebug1CommandsLib/MemMap.c#L385
Else MemoryMapSize is not set correctly in https://github.com/tianocore/edk2/blob/30b1cb6cabb95f1c385564957a7246882f828519/MdeModulePkg/Core/Dxe/Mem/Page.c#L2222
Would it be necessary to increase MemoryMapSize in pal_memory_create_info_table() as well ?
Else, second try of GetMemorySize still fails with returned status : EFI_BUFFER_TOO_SMALL, et TC #103 is failed.
Thanks in advance for your help.
Best regards,
Fabrice