Home
last modified time | relevance | path

Searched refs:FvbBaseAddress (Results 1 – 7 of 7) sorted by relevance

/device/linaro/bootloader/edk2/SecurityPkg/VariableAuthenticated/EsalVariableDxeSal/
DReclaim.c42 EFI_PHYSICAL_ADDRESS FvbBaseAddress; in GetFvbHandleByAddress() local
76 Status = Fvb->GetPhysicalAddress (Fvb, &FvbBaseAddress); in GetFvbHandleByAddress()
81 FwVolHeader = (EFI_FIRMWARE_VOLUME_HEADER *) ((UINTN) FvbBaseAddress); in GetFvbHandleByAddress()
82 if ((Address >= FvbBaseAddress) && (Address <= (FvbBaseAddress + FwVolHeader->FvLength))) { in GetFvbHandleByAddress()
119 EFI_PHYSICAL_ADDRESS FvbBaseAddress; in GetLbaAndOffsetByAddress() local
147 Status = Fvb->GetPhysicalAddress (Fvb, &FvbBaseAddress); in GetLbaAndOffsetByAddress()
152 FwVolHeader = (EFI_FIRMWARE_VOLUME_HEADER *) ((UINTN) FvbBaseAddress); in GetLbaAndOffsetByAddress()
157 if ((Address >= FvbBaseAddress) && (Address <= (FvbBaseAddress + FwVolHeader->FvLength))) { in GetLbaAndOffsetByAddress()
164 if (Address < (FvbBaseAddress + FvbMapEntry->Length * LbaIndex)) { in GetLbaAndOffsetByAddress()
169 *Offset = (UINTN) (Address - (FvbBaseAddress + FvbMapEntry->Length * (LbaIndex - 1))); in GetLbaAndOffsetByAddress()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Variable/RuntimeDxe/
DReclaim.c43 EFI_PHYSICAL_ADDRESS FvbBaseAddress; in GetLbaAndOffsetByAddress() local
64 Status = Fvb->GetPhysicalAddress (Fvb, &FvbBaseAddress); in GetLbaAndOffsetByAddress()
69 FwVolHeader = (EFI_FIRMWARE_VOLUME_HEADER *) ((UINTN) FvbBaseAddress); in GetLbaAndOffsetByAddress()
80 if (Address < (FvbBaseAddress + FvbMapEntry->Length * LbaIndex)) { in GetLbaAndOffsetByAddress()
85 *Offset = (UINTN) (Address - (FvbBaseAddress + FvbMapEntry->Length * (LbaIndex - 1))); in GetLbaAndOffsetByAddress()
DVariable.c4168 EFI_PHYSICAL_ADDRESS FvbBaseAddress; in GetFvbInfoByAddress() local
4205 Status = Fvb->GetPhysicalAddress (Fvb, &FvbBaseAddress); in GetFvbInfoByAddress()
4218 if ((Address >= FvbBaseAddress) && (Address < (FvbBaseAddress + BlockSize * NumberOfBlocks))) { in GetFvbInfoByAddress()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/FaultTolerantWriteDxe/
DFaultTolerantWriteSmmCommon.h59 EFI_PHYSICAL_ADDRESS FvbBaseAddress; member
66 EFI_PHYSICAL_ADDRESS FvbBaseAddress; member
DFtwMisc.c162 EFI_PHYSICAL_ADDRESS FvbBaseAddress; in GetFvbByAddress() local
189 Status = Fvb->GetPhysicalAddress (Fvb, &FvbBaseAddress); in GetFvbByAddress()
202 if ((Address >= FvbBaseAddress) && (Address < (FvbBaseAddress + BlockSize * NumberOfBlocks))) { in GetFvbByAddress()
1038 EFI_PHYSICAL_ADDRESS FvbBaseAddress; in FindFvbForFtw() local
1076 Status = Fvb->GetPhysicalAddress (Fvb, &FvbBaseAddress); in FindFvbForFtw()
1089 if ((FtwDevice->FtwFvBlock == NULL) && (FtwDevice->WorkSpaceAddress >= FvbBaseAddress) && in FindFvbForFtw()
1090 …((FtwDevice->WorkSpaceAddress + FtwDevice->WorkSpaceLength) <= (FvbBaseAddress + BlockSize * Numbe… in FindFvbForFtw()
1096 if ((FtwDevice->WorkSpaceAddress >= (FvbBaseAddress + BlockSize * (LbaIndex - 1))) in FindFvbForFtw()
1097 && (FtwDevice->WorkSpaceAddress < (FvbBaseAddress + BlockSize * LbaIndex))) { in FindFvbForFtw()
1104 …FtwDevice->FtwWorkSpaceBase = (UINTN) (FtwDevice->WorkSpaceAddress - (FvbBaseAddress + FtwDevice->… in FindFvbForFtw()
[all …]
DFaultTolerantWriteSmm.c217 EFI_PHYSICAL_ADDRESS FvbBaseAddress; in GetFvbByAddressAndAttribute() local
242 Status = Fvb->GetPhysicalAddress (Fvb, &FvbBaseAddress); in GetFvbByAddressAndAttribute()
246 if (Address != FvbBaseAddress) { in GetFvbByAddressAndAttribute()
415 SmmFtwWriteHeader->FvbBaseAddress, in SmmFaultTolerantWriteHandler()
439 SmmFtwRestartHeader->FvbBaseAddress, in SmmFaultTolerantWriteHandler()
DFaultTolerantWriteSmmDxe.c114 OUT EFI_PHYSICAL_ADDRESS *FvbBaseAddress, in ConvertFvbHandle() argument
126 Status = Fvb->GetPhysicalAddress (Fvb, FvbBaseAddress); in ConvertFvbHandle()
298 …Status = ConvertFvbHandle (FvBlockHandle, &SmmFtwWriteHeader->FvbBaseAddress, &SmmFtwWriteHeader->… in FtwWrite()
358 …Status = ConvertFvbHandle (FvBlockHandle, &SmmFtwRestartHeader->FvbBaseAddress, &SmmFtwRestartHead… in FtwRestart()