| 380 | } |
| 381 | |
| 382 | STATIC BOOLEAN isFirstRootUUID(REFIT_VOLUME *Volume) |
| 383 | { |
| 384 | UINTN VolumeIndex; |
| 385 | REFIT_VOLUME *scanedVolume; |
| 386 | |
| 387 | for (VolumeIndex = 0; VolumeIndex < Volumes.size(); VolumeIndex++) { |
| 388 | scanedVolume = &Volumes[VolumeIndex]; |
| 389 | |
| 390 | if (scanedVolume == Volume) |
| 391 | return TRUE; |
| 392 | |
| 393 | if (CompareGuid(&scanedVolume->RootUUID, &Volume->RootUUID)) |
| 394 | return FALSE; |
| 395 | |
| 396 | } |
| 397 | return TRUE; |
| 398 | } |
| 399 | |
| 400 | //Set Entry->VolName to .disk_label.contentDetails if it exists |
| 401 | STATIC EFI_STATUS GetOSXVolumeName(LOADER_ENTRY *Entry) |
no test coverage detected