Home
last modified time | relevance | path

Searched refs:RamDisk (Results 1 – 4 of 4) sorted by relevance

/freebsd/lib/libefivar/
H A Defivar-dp-format.c2170 MEDIA_RAM_DISK_DEVICE_PATH *RamDisk; in DevPathToTextRamDisk() local
2172 RamDisk = DevPath; in DevPathToTextRamDisk()
2174 if (CompareGuid (&RamDisk->TypeGuid, &gEfiVirtualDiskGuid)) { in DevPathToTextRamDisk()
2178 LShiftU64 ((UINT64)RamDisk->StartingAddr[1], 32) | RamDisk->StartingAddr[0], in DevPathToTextRamDisk()
2179 LShiftU64 ((UINT64)RamDisk->EndingAddr[1], 32) | RamDisk->EndingAddr[0], in DevPathToTextRamDisk()
2180 RamDisk->Instance in DevPathToTextRamDisk()
2182 } else if (CompareGuid (&RamDisk->TypeGuid, &gEfiVirtualCdGuid)) { in DevPathToTextRamDisk()
2186 LShiftU64 ((UINT64)RamDisk->StartingAddr[1], 32) | RamDisk->StartingAddr[0], in DevPathToTextRamDisk()
2187 LShiftU64 ((UINT64)RamDisk->EndingAddr[1], 32) | RamDisk->EndingAddr[0], in DevPathToTextRamDisk()
2188 RamDisk->Instance in DevPathToTextRamDisk()
[all …]
H A Defivar-dp-parse.c3349 MEDIA_RAM_DISK_DEVICE_PATH *RamDisk; in DevPathFromTextRamDisk() local
3357 RamDisk = (MEDIA_RAM_DISK_DEVICE_PATH *)CreateDeviceNode ( in DevPathFromTextRamDisk()
3364 WriteUnaligned64 ((UINT64 *)&(RamDisk->StartingAddr[0]), StartingAddr); in DevPathFromTextRamDisk()
3366 WriteUnaligned64 ((UINT64 *)&(RamDisk->EndingAddr[0]), EndingAddr); in DevPathFromTextRamDisk()
3367 RamDisk->Instance = (UINT16)Strtoi (InstanceStr); in DevPathFromTextRamDisk()
3368 StrToGuid (TypeGuidStr, &RamDisk->TypeGuid); in DevPathFromTextRamDisk()
3370 return (EFI_DEVICE_PATH_PROTOCOL *)RamDisk; in DevPathFromTextRamDisk()
3390 MEDIA_RAM_DISK_DEVICE_PATH *RamDisk; in DevPathFromTextVirtualDisk() local
3398 RamDisk = (MEDIA_RAM_DISK_DEVICE_PATH *)CreateDeviceNode ( in DevPathFromTextVirtualDisk()
3405 WriteUnaligned64 ((UINT64 *)&(RamDisk->StartingAddr[0]), StartingAddr); in DevPathFromTextVirtualDisk()
[all …]
/freebsd/sys/contrib/edk2/Include/Protocol/
H A DDevicePath.h1308 MEDIA_RAM_DISK_DEVICE_PATH RamDisk; member
1366 MEDIA_RAM_DISK_DEVICE_PATH *RamDisk; member
/freebsd/sys/contrib/edk2/
H A DMdePkg.dec1799 ## Include/Protocol/RamDisk.h