Re: [edk2-devel] [PATCH v2] UefiPayloadPkg/UefiPayloadEntry: Improve bootloader memrange parsing

2021-06-17 Thread Ma, Maurice
Hi, Patrick, The V2 patch addressed all previous comments. However, when I try to test your patch and build with VS2019, it gave me compiling error as below: w:\edk2\UefiPayloadPkg\UefiPayloadEntry\UefiPayloadEntry.c(140): warning C4244: '=': conversion from 'UINT64' to 'UINT32', possible

[edk2-devel] [PATCH v2] UefiPayloadPkg/UefiPayloadEntry: Improve bootloader memrange parsing

2021-06-17 Thread Patrick Rudolph
Currently several DXE crash due to invalid memory resource settings. The PciHostBridgeDxe which expects the MMCONF and PCI Aperature to be EfiMemoryMappedIO, but currently those regions are (partly) mapped as EfiReservedMemoryType. coreboot and slimbootloader provide an e820 compatible memory