Searched refs:SpareAreaAddress (Results 1 – 4 of 4) sorted by relevance
217 EFI_PHYSICAL_ADDRESS SpareAreaAddress; in PeimFaultTolerantWriteInitialize() local232 SpareAreaAddress = (EFI_PHYSICAL_ADDRESS) PcdGet64 (PcdFlashNvStorageFtwSpareBase64); in PeimFaultTolerantWriteInitialize()233 if (SpareAreaAddress == 0) { in PeimFaultTolerantWriteInitialize()234 SpareAreaAddress = (EFI_PHYSICAL_ADDRESS) PcdGet32 (PcdFlashNvStorageFtwSpareBase); in PeimFaultTolerantWriteInitialize()241 ASSERT ((WorkSpaceAddress != 0) && (SpareAreaAddress != 0)); in PeimFaultTolerantWriteInitialize()266 …FtwLastWrite.TargetAddress = (EFI_PHYSICAL_ADDRESS) (UINTN) ((INT64) SpareAreaAddress + FtwLastWri… in PeimFaultTolerantWriteInitialize()267 FtwLastWrite.SpareAddress = SpareAreaAddress; in PeimFaultTolerantWriteInitialize()283 WorkSpaceInSpareArea = SpareAreaAddress + SpareAreaLength - WorkSpaceLength; in PeimFaultTolerantWriteInitialize()284 while (WorkSpaceInSpareArea >= SpareAreaAddress) { in PeimFaultTolerantWriteInitialize()299 FtwLastWrite.TargetAddress = WorkSpaceAddress - (WorkSpaceInSpareArea - SpareAreaAddress); in PeimFaultTolerantWriteInitialize()[all …]
358 …if (GetFvbByAddress (FtwDevice->SpareAreaAddress + FtwDevice->SpareAreaLength, &BootFvb) == NULL) { in FlushSpareBlockToBootBlock()1009 FtwDevice->SpareAreaAddress = (EFI_PHYSICAL_ADDRESS) PcdGet64 (PcdFlashNvStorageFtwSpareBase64); in InitFtwDevice()1010 if (FtwDevice->SpareAreaAddress == 0) { in InitFtwDevice()1011 FtwDevice->SpareAreaAddress = (EFI_PHYSICAL_ADDRESS) PcdGet32 (PcdFlashNvStorageFtwSpareBase); in InitFtwDevice()1128 if ((FtwDevice->FtwBackupFvb == NULL) && (FtwDevice->SpareAreaAddress >= FvbBaseAddress) && in FindFvbForFtw()1129 …((FtwDevice->SpareAreaAddress + FtwDevice->SpareAreaLength) <= (FvbBaseAddress + BlockSize * Numbe… in FindFvbForFtw()1135 if ((FtwDevice->SpareAreaAddress >= (FvbBaseAddress + BlockSize * (LbaIndex - 1))) in FindFvbForFtw()1136 && (FtwDevice->SpareAreaAddress < (FvbBaseAddress + BlockSize * LbaIndex))) { in FindFvbForFtw()1155 if (((FtwDevice->SpareAreaAddress & (FtwDevice->SpareBlockSize - 1)) != 0) || in FindFvbForFtw()1363 …GetFvbByAddress ((EFI_PHYSICAL_ADDRESS) (UINTN) ((INT64) FtwDevice->SpareAreaAddress + FtwDevice->… in InitFtwProtocol()
65 …EFI_PHYSICAL_ADDRESS SpareAreaAddress; // Base address of spare range in flas… member
445 …set = (INT64) (FvbPhysicalAddress + (UINTN) Lba * BlockSize) - (INT64) FtwDevice->SpareAreaAddress; in FtwWrite()