From: Star Zeng Date: Thu, 31 Aug 2017 08:53:16 +0000 (+0800) Subject: SourceLevelDebugPkg/DebugCommLibUsb3Pei: Make sure alloc physical mem X-Git-Tag: edk2-stable201903~3495 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=364f63c06533a4de83e6f35ee698700bb24f735f;hp=364f63c06533a4de83e6f35ee698700bb24f735f SourceLevelDebugPkg/DebugCommLibUsb3Pei: Make sure alloc physical mem PI 1.6 has supported pre permanent memory page allocation, to make sure the allocated memory is physical memory for DMA, the patch is to check memory discovered PPI installed or not first before calling AllocatePages. Cc: Ruiyu Ni Cc: Hao Wu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng Reviewed-by: Ruiyu Ni Reviewed-by: Hao Wu ---