summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
diff options
context:
space:
mode:
authorNi, Ruiyu <ruiyu.ni@intel.com>2016-03-30 08:29:10 +0800
committerRuiyu Ni <ruiyu.ni@intel.com>2016-04-06 13:27:09 +0800
commit339ae051f6d095629b39d8d486c4f3a8a31e6480 (patch)
tree21bb12b86bc303b7bf27b969d24a56df38ba7d65 /MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
parent026ede493c70af6fe16be21e9cb73580a22b8159 (diff)
downloadedk2-339ae051f6d095629b39d8d486c4f3a8a31e6480.tar.gz
edk2-339ae051f6d095629b39d8d486c4f3a8a31e6480.tar.bz2
edk2-339ae051f6d095629b39d8d486c4f3a8a31e6480.zip
MdeModulePkg/Bds: Free resources after ram disk boot finishes
The resource free includes to un-register the ram disk device and free the memory occupied by the ram disk. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Siyuan Fu <siyuan.fu@intel.com> Reviewed-by: Samer El-Haj-Mahmoud <elhaj@hpe.com>
Diffstat (limited to 'MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf')
-rw-r--r--MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf1
1 files changed, 1 insertions, 0 deletions
diff --git a/MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf b/MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
index e9e74b1587..9d62d3d2c1 100644
--- a/MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
+++ b/MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
@@ -108,6 +108,7 @@
gEfiDiskInfoProtocolGuid ## SOMETIMES_CONSUMES
gEfiDriverHealthProtocolGuid ## SOMETIMES_CONSUMES
gEfiFormBrowser2ProtocolGuid ## SOMETIMES_CONSUMES
+ gEfiRamDiskProtocolGuid ## SOMETIMES_CONSUMES
[Pcd]
gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange ## SOMETIMES_CONSUMES