mirror of https://github.com/acidanthera/audk.git
cb38ace647
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2818 For better memory management, re-ordered the DestroyRamDisk and ReportStatusCode calls inside the EfiBootManagerBoot() function. This will help to clean the unused memory before reporting the failure status, so that OEMs can use RSC Listener to launch custom boot option or application for recovering the failed hard drive. This change will help to ensure that the allocated pool of memory for the failed boot option is freed before executing OEM's RSC listener callback to handle every boot option failure. Signed-off-by: KrishnadasX Veliyathuparambil Prakashan <krishnadasx.veliyathuparambil.prakashan@intel.com> Cc: "Gao, Zhichao" <zhichao.gao@intel.com> Cc: "Ni, Ray" <ray.ni@intel.com> Reviewed-by: Sunny Wang <sunnywang@hpe.com> Reviewed-by: Zhichao Gao <zhichao.gao@intel.com> |
||
---|---|---|
.. | ||
BmBoot.c | ||
BmBootDescription.c | ||
BmConnect.c | ||
BmConsole.c | ||
BmDriverHealth.c | ||
BmHotkey.c | ||
BmLoadOption.c | ||
BmMisc.c | ||
InternalBm.h | ||
UefiBootManagerLib.inf | ||
UefiBootManagerLib.uni |