Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: cb38ace647231076acfc0c5bdd21d3aff43e4f83
https://github.com/tianocore/edk2/commit/cb38ace647231076acfc0c5bdd21d3aff43e4f83
Author: KrishnadasX Veliyathuparambil Prakashan
<[email protected]>
Date: 2020-07-20 (Mon, 20 Jul 2020)
Changed paths:
M MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c
Log Message:
-----------
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
<[email protected]>
Cc: "Gao, Zhichao" <[email protected]>
Cc: "Ni, Ray" <[email protected]>
Reviewed-by: Sunny Wang <[email protected]>
Reviewed-by: Zhichao Gao <[email protected]>
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits