Home
last modified time | relevance | path

Searched refs:RamDiskDevicePath (Results 1 – 2 of 2) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Library/UefiBootManagerLib/
DBmBoot.c1175 EFI_DEVICE_PATH_PROTOCOL *RamDiskDevicePath; in BmGetRamDiskDevicePath() local
1190 RamDiskDevicePath = DuplicateDevicePath (FilePath); in BmGetRamDiskDevicePath()
1191 ASSERT (RamDiskDevicePath != NULL); in BmGetRamDiskDevicePath()
1192 SetDevicePathEndNode ((VOID *) ((UINTN) RamDiskDevicePath + ((UINTN) Node - (UINTN) FilePath))); in BmGetRamDiskDevicePath()
1193 return RamDiskDevicePath; in BmGetRamDiskDevicePath()
1209 IN EFI_DEVICE_PATH_PROTOCOL *RamDiskDevicePath, in BmGetRamDiskMemoryInfo() argument
1219 ASSERT (RamDiskDevicePath != NULL); in BmGetRamDiskMemoryInfo()
1226 Status = gBS->LocateDevicePath (&gEfiLoadFileProtocolGuid, &RamDiskDevicePath, &Handle); in BmGetRamDiskMemoryInfo()
1228 ASSERT ((DevicePathType (RamDiskDevicePath) == MEDIA_DEVICE_PATH) && in BmGetRamDiskMemoryInfo()
1229 (DevicePathSubType (RamDiskDevicePath) == MEDIA_RAM_DISK_DP)); in BmGetRamDiskMemoryInfo()
[all …]
/device/linaro/bootloader/OpenPlatformPkg/Drivers/Block/ramdisk/
Dramdisk.c63 static RAM_DISK_DEVICE_PATH RamDiskDevicePath = variable
260 CopyMem(&RamDiskDevicePath.DiskId, &DiskId, sizeof(DiskId)); in InitializeRamDiskDriver()
278 RamDiskDev->DevicePath = DuplicateDevicePath((EFI_DEVICE_PATH*)&RamDiskDevicePath); in InitializeRamDiskDriver()