]> git.proxmox.com Git - mirror_edk2.git/commitdiff
SourceLevelDebugPkg/DebugCommLibUsb3Pei: Make sure alloc physical mem
authorStar Zeng <star.zeng@intel.com>
Thu, 31 Aug 2017 08:53:16 +0000 (16:53 +0800)
committerStar Zeng <star.zeng@intel.com>
Mon, 4 Sep 2017 02:37:46 +0000 (10:37 +0800)
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 <ruiyu.ni@intel.com>
Cc: Hao Wu <hao.a.wu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Hao Wu <hao.a.wu@intel.com>

No differences found