| 1672 | } |
| 1673 | |
| 1674 | XStringW FileDevicePathFileToXStringW(IN EFI_DEVICE_PATH_PROTOCOL *DevPath) |
| 1675 | { |
| 1676 | EFI_DEVICE_PATH_PROTOCOL *Node; |
| 1677 | |
| 1678 | if (DevPath == NULL) { |
| 1679 | return NullXStringW; |
| 1680 | } |
| 1681 | |
| 1682 | Node = (EFI_DEVICE_PATH_PROTOCOL *)DevPath; |
| 1683 | while (!IsDevicePathEnd(Node)) { |
| 1684 | if ((Node->Type == MEDIA_DEVICE_PATH) && |
| 1685 | (Node->SubType == MEDIA_FILEPATH_DP)) { |
| 1686 | return FileDevicePathToXStringW(Node); |
| 1687 | } |
| 1688 | Node = NextDevicePathNode(Node); |
| 1689 | } |
| 1690 | return NullXStringW; |
| 1691 | } |
| 1692 | |
| 1693 | BOOLEAN DumpVariable(CHAR16* Name, EFI_GUID* Guid, INTN DevicePathAt) |
| 1694 | { |
nothing calls this directly
no test coverage detected