Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/
DLegacyBbs.c152 UINTN HddIndex; in LegacyBiosBuildBbs() local
201 for (HddIndex = 0; HddIndex < MAX_IDE_CONTROLLER; HddIndex++) { in LegacyBiosBuildBbs()
203 BbsIndex = HddIndex * 2 + 1; in LegacyBiosBuildBbs()
206 BbsTable[BbsIndex + Index].Bus = HddInfo[HddIndex].Bus; in LegacyBiosBuildBbs()
207 BbsTable[BbsIndex + Index].Device = HddInfo[HddIndex].Device; in LegacyBiosBuildBbs()
208 BbsTable[BbsIndex + Index].Function = HddInfo[HddIndex].Function; in LegacyBiosBuildBbs()
222 if (HddInfo[HddIndex].CommandBaseAddress == 0) { in LegacyBiosBuildBbs()
226 …if ((HddInfo[HddIndex].Status & (HDD_MASTER_IDE | HDD_MASTER_ATAPI_CDROM | HDD_MASTER_ATAPI_ZIPDIS… in LegacyBiosBuildBbs()
228 if ((HddInfo[HddIndex].Status & HDD_MASTER_IDE) != 0) { in LegacyBiosBuildBbs()
230 } else if ((HddInfo[HddIndex].Status & HDD_MASTER_ATAPI_CDROM) != 0) { in LegacyBiosBuildBbs()
[all …]
/device/linaro/bootloader/edk2/OvmfPkg/Csm/CsmSupportLib/
DLegacyPlatform.c378 UINT32 HddIndex; in GetPlatformHandle() local
388 HddIndex = 0; in GetPlatformHandle()
512 HddInfo[HddIndex].Status |= HDD_PRIMARY; in GetPlatformHandle()
513 HddInfo[HddIndex].Bus = (UINT32)Bus; in GetPlatformHandle()
514 HddInfo[HddIndex].Device = (UINT32)Device; in GetPlatformHandle()
515 HddInfo[HddIndex].Function = (UINT32)Function; in GetPlatformHandle()
516 HddInfo[HddIndex + 1].Status |= HDD_SECONDARY; in GetPlatformHandle()
517 HddInfo[HddIndex + 1].Bus = (UINT32)Bus; in GetPlatformHandle()
518 HddInfo[HddIndex + 1].Device = (UINT32)Device; in GetPlatformHandle()
519 HddInfo[HddIndex + 1].Function = (UINT32)Function; in GetPlatformHandle()
[all …]