loader/legacy.c
VOID ScanLegacyExternal(VOID)
{
   UINTN                   VolumeIndex;
   REFIT_VOLUME            *Volume;

   if (GlobalConfig.LegacyType == LEGACY_TYPE_MAC) {
      for (VolumeIndex = 0; VolumeIndex < VolumesCount; VolumeIndex++) {
         Volume = Volumes[VolumeIndex];
         if (Volume->DiskKind == DISK_KIND_EXTERNAL)
            ScanLegacyVolume(Volume, VolumeIndex);
      } // for
   } else if (GlobalConfig.LegacyType == LEGACY_TYPE_UEFI) {
      // TODO: This actually doesn't do anything useful; leaving in hopes of
      // fixing it later....
      ScanLegacyUEFI(BBS_USB);
   }
}
// Scan external disks for legacy (BIOS) boot code
// and add anything found to the list....
Scan external disks for legacy (BIOS) boot code
and add anything found to the list
Scan external disks for legacy ( BIOS ) boot code and add anything found to the list
VOID ScanLegacyExternal(VOID)
{
   UINTN                   VolumeIndex;
   REFIT_VOLUME            *Volume;
   if (GlobalConfig.LegacyType == LEGACY_TYPE_MAC) {
      for (VolumeIndex = 0; VolumeIndex < VolumesCount; VolumeIndex++) {
         Volume = Volumes[VolumeIndex];
         if (Volume->DiskKind == DISK_KIND_EXTERNAL)
            ScanLegacyVolume(Volume, VolumeIndex);
      } 
   } else if (GlobalConfig.LegacyType == LEGACY_TYPE_UEFI) {
      ScanLegacyUEFI(BBS_USB);
   }
}
VOID ScanLegacyExternal ( VOID ) { UINTN VolumeIndex ; REFIT_VOLUME * Volume ; if ( GlobalConfig . LegacyType == LEGACY_TYPE_MAC ) { for ( VolumeIndex = 0 ; VolumeIndex < VolumesCount ; VolumeIndex ++ ) { Volume = Volumes [ VolumeIndex ] ; if ( Volume -> DiskKind == DISK_KIND_EXTERNAL ) ScanLegacyVolume ( Volume , VolumeIndex ) ; } } else if ( GlobalConfig . LegacyType == LEGACY_TYPE_UEFI ) { ScanLegacyUEFI ( BBS_USB ) ; } }
Scan external disks for legacy (BIOS) boot code
and add anything found to the list....
Scan external disks for legacy ( BIOS ) boot code and add anything found to the list ....
// for // TODO: This actually doesn't do anything useful; leaving in hopes of // fixing it later....