Implement BlGetVolumeDevicePath() and BlpDissectVolumeArcPath()
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
2022-08-22 20:09:50 +02:00
parent 6d135ce209
commit f03b79ee2f
5 changed files with 311 additions and 1 deletions

View File

@@ -61,10 +61,19 @@ BlEfiPrint(IN PUINT16 Format,
EFI_STATUS
BlEnumerateEfiBlockDevices();
EFI_STATUS
BlGetVolumeDevicePath(IN PUCHAR SystemPath,
OUT PEFI_DEVICE_PATH_PROTOCOL *DevicePath,
OUT PUCHAR *Path);
EFI_STATUS
BlStartXtLoader(IN EFI_HANDLE ImageHandle,
IN PEFI_SYSTEM_TABLE SystemTable);
INT
BlStringCompareInsensitive(IN PUCHAR String1,
IN PUCHAR String2);
VOID
BlStringPrint(IN VOID PutChar(IN USHORT Character),
IN PUINT16 Format,
@@ -73,6 +82,13 @@ BlStringPrint(IN VOID PutChar(IN USHORT Character),
EFI_STATUS
BlpDiscoverEfiBlockDevices(OUT PLIST_ENTRY BlockDevices);
EFI_STATUS
BlpDissectVolumeArcPath(IN PUCHAR SystemPath,
OUT PUCHAR *Path,
OUT PUSHORT DriveType,
OUT PULONG DriveNumber,
OUT PULONG PartNumber);
PEFI_DEVICE_PATH_PROTOCOL
BlpDuplicateDevicePath(IN PEFI_DEVICE_PATH_PROTOCOL DevicePath);