From 339ae051f6d095629b39d8d486c4f3a8a31e6480 Mon Sep 17 00:00:00 2001 From: "Ni, Ruiyu" Date: Wed, 30 Mar 2016 08:29:10 +0800 Subject: 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 Reviewed-by: Siyuan Fu Reviewed-by: Samer El-Haj-Mahmoud --- MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf | 1 + 1 file changed, 1 insertion(+) (limited to 'MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf') 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 -- cgit v1.2.3