]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/Core/Dxe/Mem/Page.c
MdeModulePkg/CoreDxe: Allow DXE Drivers to use untested memory
authorStacy Howell <stacy.howell@intel.com>
Fri, 7 Jan 2022 19:36:12 +0000 (03:36 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 22 Jul 2022 05:36:57 +0000 (05:36 +0000)
commit494f333aba024cf8e695fda78594e5cac210c7a3
treee8d8fd0639d830464ed61e96fa483486a884ee5f
parent7ef91af84c04b1e5a17631bd1811c9bc1945dfdc
MdeModulePkg/CoreDxe: Allow DXE Drivers to use untested memory

REF: https://https://bugzilla.tianocore.org/show_bug.cgi?id=3795
Cc: Dandan Bi <dandan.bi@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Updated CoreInternalAllocatePages() to call PromoteMemoryResource() and
re-attempt the allocation if unable to convert the specified memory range

Signed-off-by: Stacy Howell <stacy.howell@intel.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
MdeModulePkg/Core/Dxe/Mem/Page.c