summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/sitecustomize.py
diff options
context:
space:
mode:
authorKrishnadasX Veliyathuparambil Prakashan <krishnadasx.veliyathuparambil.prakashan@intel.com>2020-06-19 10:40:26 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-07-20 15:00:18 +0000
commitcb38ace647231076acfc0c5bdd21d3aff43e4f83 (patch)
tree04699bde13eec3c75c6546fbd1d2e8a6297903d7 /BaseTools/Source/Python/sitecustomize.py
parent3d9d66ad760b67bfdfb5b4b8e9b34f6af6c45935 (diff)
downloadedk2-cb38ace647231076acfc0c5bdd21d3aff43e4f83.tar.gz
edk2-cb38ace647231076acfc0c5bdd21d3aff43e4f83.tar.bz2
edk2-cb38ace647231076acfc0c5bdd21d3aff43e4f83.zip
MdeModulePkg: Upon BootOption failure, Destroy RamDisk memory before RSC.
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>
Diffstat (limited to 'BaseTools/Source/Python/sitecustomize.py')
0 files changed, 0 insertions, 0 deletions