Home
last modified time | relevance | path

Searched refs:FIRST_BIOS_DISK (Results 1 – 2 of 2) sorted by relevance

/reactos/boot/freeldr/freeldr/arch/i386/
H A Dhwdisk.c31 #define FIRST_BIOS_DISK 0x80 macro
254 return PcDiskIdentifier[DriveNumber - FIRST_BIOS_DISK]; in GetHarddiskIdentifier()
268 PCHAR Identifier = PcDiskIdentifier[DriveNumber - FIRST_BIOS_DISK]; in GetHarddiskInformation()
278 sprintf(Identifier, "BIOSDISK%d", DriveNumber - FIRST_BIOS_DISK + 1); in GetHarddiskInformation()
300 sprintf(ArcName, "multi(0)disk(0)rdisk(%u)", DriveNumber - FIRST_BIOS_DISK); in GetHarddiskInformation()
303 sprintf(ArcName, "multi(0)disk(0)rdisk(%u)partition(0)", DriveNumber - FIRST_BIOS_DISK); in GetHarddiskInformation()
356 DriveNumber = FIRST_BIOS_DISK; in EnumerateHarddisks()
438 else if (FrldrBootDrive < FIRST_BIOS_DISK) in DiskGetBootPath()
448 "multi(0)disk(0)cdrom(%u)", FrldrBootDrive - FIRST_BIOS_DISK); in DiskGetBootPath()
466 FrldrBootDrive - FIRST_BIOS_DISK, FrldrBootPartition); in DiskGetBootPath()
[all …]
/reactos/boot/freeldr/freeldr/arch/uefi/
H A Duefidisk.c17 #define FIRST_BIOS_DISK 0x80 macro
70 return PcDiskIdentifier[DriveNumber - FIRST_BIOS_DISK]; in GetHarddiskIdentifier()
93 TRACE("UefiGetBootPartitionEntry: DriveNumber: %d\n", DriveNumber - FIRST_BIOS_DISK); in UefiGetBootPartitionEntry()
163 UefiDriveNumber = DriveNumber - FIRST_BIOS_DISK; in UefiDiskOpen()
308 PCHAR Identifier = PcDiskIdentifier[DriveNumber - FIRST_BIOS_DISK]; in GetHarddiskInformation()
318 sprintf(Identifier, "BIOSDISK%d", DriveNumber - FIRST_BIOS_DISK); in GetHarddiskInformation()
340 sprintf(ArcName, "multi(0)disk(0)rdisk(%u)", DriveNumber - FIRST_BIOS_DISK); in GetHarddiskInformation()
429 GetHarddiskInformation(BlockDeviceIndex + FIRST_BIOS_DISK); in UefiSetupBlockDevices()
470 FrldrBootDrive = (FIRST_BIOS_DISK + PublicBootArcDisk); in UefiSetBootpath()
564 UefiDriveNumber = InternalUefiDisk[DriveNumber - FIRST_BIOS_DISK].UefiRootNumber; in UefiDiskReadLogicalSectors()
[all …]