MdeModulePkg RamDiskDxe: Install Block I/O 2 Protocol on RAM disk devices
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a.wu@intel.com> Reviewed-by: Samer El-Haj-Mahmoud <elhaj@hpe.com> Reviewed-by: Feng Tian <feng.tian@intel.com>
This commit is contained in:
@@ -173,6 +173,8 @@ UnregisterAllRamDisks (
|
||||
PrivateData->Handle,
|
||||
&gEfiBlockIoProtocolGuid,
|
||||
&PrivateData->BlockIo,
|
||||
&gEfiBlockIo2ProtocolGuid,
|
||||
&PrivateData->BlockIo2,
|
||||
&gEfiDevicePathProtocolGuid,
|
||||
(EFI_DEVICE_PATH_PROTOCOL *) PrivateData->DevicePath,
|
||||
NULL
|
||||
|
Reference in New Issue
Block a user