Home
last modified time | relevance | path

Searched refs:EFI_FIRMWARE_VOLUME_HEADER (Results 1 – 25 of 130) sorted by relevance

123456

/device/linaro/bootloader/edk2/QuarkPlatformPkg/Platform/SpiFvbServices/
DFvbInfo.c27 EFI_FIRMWARE_VOLUME_HEADER FvbInfo;
50 sizeof (EFI_FIRMWARE_VOLUME_HEADER) + sizeof (EFI_FV_BLOCK_MAP_ENTRY),
80 sizeof (EFI_FIRMWARE_VOLUME_HEADER) + sizeof (EFI_FV_BLOCK_MAP_ENTRY),
110 sizeof (EFI_FIRMWARE_VOLUME_HEADER) + sizeof (EFI_FV_BLOCK_MAP_ENTRY),
140 sizeof (EFI_FIRMWARE_VOLUME_HEADER) + sizeof (EFI_FV_BLOCK_MAP_ENTRY),
178 sizeof (EFI_FIRMWARE_VOLUME_HEADER) + sizeof (EFI_FV_BLOCK_MAP_ENTRY),
208 sizeof (EFI_FIRMWARE_VOLUME_HEADER) + sizeof (EFI_FV_BLOCK_MAP_ENTRY),
234 OUT EFI_FIRMWARE_VOLUME_HEADER **FvbInfo in GetFtwFvbInfo()
238 EFI_FIRMWARE_VOLUME_HEADER *FvHeader; in GetFtwFvbInfo()
283 OUT EFI_FIRMWARE_VOLUME_HEADER **FvbInfo in GetFvbInfo()
[all …]
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/FvbRuntimeDxe/
DFvbInfo.c49 EFI_FIRMWARE_VOLUME_HEADER FvbInfo;
69 sizeof (EFI_FIRMWARE_VOLUME_HEADER) + sizeof (EFI_FV_BLOCK_MAP_ENTRY),
100 sizeof (EFI_FIRMWARE_VOLUME_HEADER) + sizeof (EFI_FV_BLOCK_MAP_ENTRY),
131 sizeof (EFI_FIRMWARE_VOLUME_HEADER) + sizeof (EFI_FV_BLOCK_MAP_ENTRY),
155 OUT EFI_FIRMWARE_VOLUME_HEADER **FvbInfo
159 EFI_FIRMWARE_VOLUME_HEADER *FvHeader;
DFvbService.h69 EFI_FIRMWARE_VOLUME_HEADER VolumeHeader;
104 OUT EFI_FIRMWARE_VOLUME_HEADER **FvbInfo
175 IN CONST EFI_FIRMWARE_VOLUME_HEADER *FwVolHeader
/device/linaro/bootloader/edk2/DuetPkg/FvbRuntimeService/
DFvbInfo.c26 EFI_FIRMWARE_VOLUME_HEADER FvbInfo;
52 sizeof (EFI_FIRMWARE_VOLUME_HEADER) + sizeof (EFI_FV_BLOCK_MAP_ENTRY),
86 sizeof (EFI_FIRMWARE_VOLUME_HEADER) + sizeof (EFI_FV_BLOCK_MAP_ENTRY),
108 OUT EFI_FIRMWARE_VOLUME_HEADER **FvbInfo in GetFvbInfo()
/device/linaro/bootloader/edk2/Nt32Pkg/FvbServicesRuntimeDxe/
DFvbInfo.c53 EFI_FIRMWARE_VOLUME_HEADER FvbInfo;
80 sizeof (EFI_FIRMWARE_VOLUME_HEADER) + sizeof (EFI_FV_BLOCK_MAP_ENTRY),
122 sizeof (EFI_FIRMWARE_VOLUME_HEADER) + sizeof (EFI_FV_BLOCK_MAP_ENTRY),
147 OUT EFI_FIRMWARE_VOLUME_HEADER **FvbInfo in GetFvbInfo()
/device/linaro/bootloader/edk2/EmulatorPkg/FvbServicesRuntimeDxe/
DFvbInfo.c43 EFI_FIRMWARE_VOLUME_HEADER FvbInfo;
68 sizeof (EFI_FIRMWARE_VOLUME_HEADER) + sizeof (EFI_FV_BLOCK_MAP_ENTRY),
112 sizeof (EFI_FIRMWARE_VOLUME_HEADER) + sizeof (EFI_FV_BLOCK_MAP_ENTRY),
141 OUT EFI_FIRMWARE_VOLUME_HEADER **FvbInfo in GetFvbInfo()
/device/linaro/bootloader/edk2/OvmfPkg/Sec/
DSecMain.c98 IN OUT EFI_FIRMWARE_VOLUME_HEADER **BootFv in FindMainFv()
101 EFI_FIRMWARE_VOLUME_HEADER *Fv; in FindMainFv()
109 Fv = (EFI_FIRMWARE_VOLUME_HEADER*) ((UINT8*) Fv - EFI_PAGE_SIZE); in FindMainFv()
251 IN EFI_FIRMWARE_VOLUME_HEADER *Fv, in FindFfsFileAndSection()
325 IN OUT EFI_FIRMWARE_VOLUME_HEADER **Fv in DecompressMemFvs()
337 EFI_FIRMWARE_VOLUME_HEADER *PeiMemFv; in DecompressMemFvs()
338 EFI_FIRMWARE_VOLUME_HEADER *DxeMemFv; in DecompressMemFvs()
403 PeiMemFv = (EFI_FIRMWARE_VOLUME_HEADER*)(UINTN) PcdGet32 (PcdOvmfPeiMemFvBase); in DecompressMemFvs()
436 DxeMemFv = (EFI_FIRMWARE_VOLUME_HEADER*)(UINTN) PcdGet32 (PcdOvmfDxeMemFvBase); in DecompressMemFvs()
462 IN EFI_FIRMWARE_VOLUME_HEADER *Fv, in FindPeiCoreImageBaseInFv()
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/
DFirmwareVolumeBuffer.c129 (((EFI_FIRMWARE_VOLUME_HEADER*)Fv)->Attributes & EFI_FVB2_ERASE_POLARITY) in FvBufRemoveFileNew()
163 EFI_FIRMWARE_VOLUME_HEADER *TempFv; in FvBufRemoveFile()
305 EFI_FIRMWARE_VOLUME_HEADER* FvHeader = (EFI_FIRMWARE_VOLUME_HEADER*)Fv; in FvBufChecksumHeader()
403 EFI_FIRMWARE_VOLUME_HEADER* hdr; in FvBufExtend()
414 hdr = (EFI_FIRMWARE_VOLUME_HEADER*)*Fv; in FvBufExtend()
446 hdr = (EFI_FIRMWARE_VOLUME_HEADER*)NewFv; in FvBufExtend()
500 EFI_FIRMWARE_VOLUME_HEADER *hdr = (EFI_FIRMWARE_VOLUME_HEADER*)Fv; in FvBufClearAllFiles()
541 EFI_FIRMWARE_VOLUME_HEADER *hdr = (EFI_FIRMWARE_VOLUME_HEADER*)Fv; in FvBufGetSize()
586 EFI_FIRMWARE_VOLUME_HEADER *hdr = (EFI_FIRMWARE_VOLUME_HEADER*)Fv; in FvBufAddFile()
741 EFI_FIRMWARE_VOLUME_HEADER *hdr = (EFI_FIRMWARE_VOLUME_HEADER*)Fv; in FvBufAddVtfFile()
[all …]
DFvLib.h36 OUT EFI_FIRMWARE_VOLUME_HEADER **FvHeader,
76 IN EFI_FIRMWARE_VOLUME_HEADER *FvHeader
/device/linaro/bootloader/edk2/OvmfPkg/QemuFlashFvbServicesRuntimeDxe/
DFvbInfo.c41 EFI_FIRMWARE_VOLUME_HEADER FvbInfo;
74 sizeof (EFI_FIRMWARE_VOLUME_HEADER) + sizeof (EFI_FV_BLOCK_MAP_ENTRY),
104 OUT EFI_FIRMWARE_VOLUME_HEADER **FvbInfo in GetFvbInfo()
DFwBlockService.c149 (sizeof (EFI_FW_VOL_INSTANCE) - sizeof (EFI_FIRMWARE_VOLUME_HEADER)) in GetFvbInstance()
780 EFI_FIRMWARE_VOLUME_HEADER *FwVolHeader in ValidateFvHeader()
875 EFI_FIRMWARE_VOLUME_HEADER *GoodFwVolHeader; in InitializeVariableFvHeader()
876 EFI_FIRMWARE_VOLUME_HEADER *FwVolHeader; in InitializeVariableFvHeader()
882 (EFI_FIRMWARE_VOLUME_HEADER *) (UINTN) in InitializeVariableFvHeader()
960 EFI_FIRMWARE_VOLUME_HEADER *FwVolHeader; in FvbInitialize()
996 FwVolHeader = (EFI_FIRMWARE_VOLUME_HEADER *) (UINTN) BaseAddress; in FvbInitialize()
1011 sizeof (EFI_FIRMWARE_VOLUME_HEADER) in FvbInitialize()
1022 (EFI_FIRMWARE_VOLUME_HEADER *) (UINTN) in FvbInitialize()
1118 (sizeof (EFI_FW_VOL_INSTANCE) - sizeof (EFI_FIRMWARE_VOLUME_HEADER)) in FvbInitialize()
/device/linaro/bootloader/edk2/IntelFspWrapperPkg/Library/BaseFspApiLib/
DFspApiLib.c55 if (((EFI_FIRMWARE_VOLUME_HEADER *)CheckPointer)->Signature != EFI_FVH_SIGNATURE) { in FspFindFspHeader()
59 if (((EFI_FIRMWARE_VOLUME_HEADER *)CheckPointer)->ExtHeaderOffset != 0) { in FspFindFspHeader()
60 CheckPointer = CheckPointer + ((EFI_FIRMWARE_VOLUME_HEADER *)CheckPointer)->ExtHeaderOffset; in FspFindFspHeader()
64 CheckPointer = CheckPointer + ((EFI_FIRMWARE_VOLUME_HEADER *)CheckPointer)->HeaderLength; in FspFindFspHeader()
/device/linaro/bootloader/edk2/IntelFsp2WrapperPkg/Library/BaseFspWrapperApiLib/
DFspWrapperApiLib.c55 if (((EFI_FIRMWARE_VOLUME_HEADER *)CheckPointer)->Signature != EFI_FVH_SIGNATURE) { in FspFindFspHeader()
59 if (((EFI_FIRMWARE_VOLUME_HEADER *)CheckPointer)->ExtHeaderOffset != 0) { in FspFindFspHeader()
60 CheckPointer = CheckPointer + ((EFI_FIRMWARE_VOLUME_HEADER *)CheckPointer)->ExtHeaderOffset; in FspFindFspHeader()
64 CheckPointer = CheckPointer + ((EFI_FIRMWARE_VOLUME_HEADER *)CheckPointer)->HeaderLength; in FspFindFspHeader()
/device/linaro/bootloader/edk2/SecurityPkg/VariableAuthenticated/EsalVariableDxeSal/
DReclaim.c44 EFI_FIRMWARE_VOLUME_HEADER *FwVolHeader; in GetFvbHandleByAddress()
81 FwVolHeader = (EFI_FIRMWARE_VOLUME_HEADER *) ((UINTN) FvbBaseAddress); in GetFvbHandleByAddress()
121 EFI_FIRMWARE_VOLUME_HEADER *FwVolHeader; in GetLbaAndOffsetByAddress()
152 FwVolHeader = (EFI_FIRMWARE_VOLUME_HEADER *) ((UINTN) FvbBaseAddress); in GetLbaAndOffsetByAddress()
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Platform/Pei/PlatformInit/
DPeiFvSecurity.c63 Status = PeiSecurityVerifyFv ((EFI_FIRMWARE_VOLUME_HEADER*) FvInfoPpi->FvInfo); in FirmwareVolmeInfoPpiNotifySecurityCallback()
80 IN EFI_FIRMWARE_VOLUME_HEADER *CurrentFvAddress in PeiSecurityVerifyFv()
/device/linaro/bootloader/edk2/CorebootModulePkg/CbSupportPei/
DCbSupportPei.c79 IN EFI_FIRMWARE_VOLUME_HEADER *FwVolHeader in IsFvHeaderValid()
124 if (IsFvHeaderValid ((EFI_FIRMWARE_VOLUME_HEADER* )TempPtr)) { in CbPeiReportRemainedFvs()
127 …DEBUG((EFI_D_ERROR, "Found one valid fv : 0x%lx.\n", TempPtr, ((EFI_FIRMWARE_VOLUME_HEADER* )TempP… in CbPeiReportRemainedFvs()
132 (UINT32) (UINTN) ((EFI_FIRMWARE_VOLUME_HEADER* )TempPtr)->FvLength, in CbPeiReportRemainedFvs()
136 …BuildFvHob ((EFI_PHYSICAL_ADDRESS)(UINTN) TempPtr, ((EFI_FIRMWARE_VOLUME_HEADER* )TempPtr)->FvLeng… in CbPeiReportRemainedFvs()
139 TempPtr += ((EFI_FIRMWARE_VOLUME_HEADER* )TempPtr)->FvLength; in CbPeiReportRemainedFvs()
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/FwVol/
DFwVol.c183 OUT EFI_FIRMWARE_VOLUME_HEADER **FwVolHeader in GetFwVolHeader()
187 EFI_FIRMWARE_VOLUME_HEADER TempFvh; in GetFwVolHeader()
198 FvhLength = sizeof (EFI_FIRMWARE_VOLUME_HEADER); in GetFwVolHeader()
231 CopyMem (*FwVolHeader, &TempFvh, sizeof (EFI_FIRMWARE_VOLUME_HEADER)); in GetFwVolHeader()
236 FvhLength = TempFvh.HeaderLength - sizeof (EFI_FIRMWARE_VOLUME_HEADER); in GetFwVolHeader()
237 Buffer = (UINT8 *)*FwVolHeader + sizeof (EFI_FIRMWARE_VOLUME_HEADER); in GetFwVolHeader()
325 EFI_FIRMWARE_VOLUME_HEADER *FwVolHeader; in FvCheck()
635 EFI_FIRMWARE_VOLUME_HEADER *FwVolHeader; in NotifyFwVolBlock()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/
DFwVol.c43 OUT EFI_FIRMWARE_VOLUME_HEADER **FwVolHeader in GetFwVolHeader()
47 EFI_FIRMWARE_VOLUME_HEADER TempFvh; in GetFwVolHeader()
71 FvhLength = sizeof (EFI_FIRMWARE_VOLUME_HEADER); in GetFwVolHeader()
209 EFI_FIRMWARE_VOLUME_HEADER *CachedFvHeader; in FwVolInheritAuthenticationStatus()
219 EFI_FIRMWARE_VOLUME_HEADER *FvHeader; in FwVolInheritAuthenticationStatus()
223 CachedFvHeader = (EFI_FIRMWARE_VOLUME_HEADER *) (UINTN) FvDevice->CachedFv; in FwVolInheritAuthenticationStatus()
317 EFI_FIRMWARE_VOLUME_HEADER *FwVolHeader; in FvCheck()
453 FvDevice->FwVolHeader = (EFI_FIRMWARE_VOLUME_HEADER *) FwCache; in FvCheck()
654 EFI_FIRMWARE_VOLUME_HEADER *FwVolHeader; in FwVolDriverInit()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/Common/
DFvLib.h41 OUT EFI_FIRMWARE_VOLUME_HEADER **FvHeader,
76 IN EFI_FIRMWARE_VOLUME_HEADER *FvHeader
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/FwVolBlock/
DFwVolBlock.c211 EFI_FIRMWARE_VOLUME_HEADER *FwVolHeader; in FwVolBlockReadBlock()
252 FwVolHeader = (EFI_FIRMWARE_VOLUME_HEADER *)((UINTN) FvbDevice->BaseAddress); in FwVolBlockReadBlock()
369 EFI_FIRMWARE_VOLUME_HEADER *FwVolHeader; in FwVolBlockGetBlockSize()
380 FwVolHeader = (EFI_FIRMWARE_VOLUME_HEADER *)((UINTN)FvbDevice->BaseAddress); in FwVolBlockGetBlockSize()
462 EFI_FIRMWARE_VOLUME_HEADER *FwVolHeader; in ProduceFVBProtocolOnBuffer()
470 FwVolHeader = (EFI_FIRMWARE_VOLUME_HEADER *)(UINTN) BaseAddress; in ProduceFVBProtocolOnBuffer()
/device/linaro/bootloader/edk2/Nt32Pkg/WinNtFirmwareVolumePei/
DWinntFwh.c63 EFI_FIRMWARE_VOLUME_HEADER *FvHeader; in PeimInitializeWinNtFwh()
91 FvHeader = (EFI_FIRMWARE_VOLUME_HEADER *) (UINTN) FdBase; in PeimInitializeWinNtFwh()
/device/linaro/bootloader/edk2/EmulatorPkg/FirmwareVolumePei/
DFirmwareVolumePei.c49 EFI_FIRMWARE_VOLUME_HEADER *FvHeader; in PeimInitializeFirmwareVolumePei()
76 FvHeader = (EFI_FIRMWARE_VOLUME_HEADER *) (UINTN) FdBase; in PeimInitializeFirmwareVolumePei()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/FirmwareVolume/UpdateDriverDxe/
DFlashUpdate.c606 EFI_FIRMWARE_VOLUME_HEADER *FwVolHeader; in PerformUpdateOnWholeFv()
618 …FwVolHeader = AllocatePool (((EFI_FIRMWARE_VOLUME_HEADER *) ((UINTN) (ConfigData->BaseAddress)))->… in PerformUpdateOnWholeFv()
625 ((EFI_FIRMWARE_VOLUME_HEADER *) ((UINTN) (ConfigData->BaseAddress)))->HeaderLength in PerformUpdateOnWholeFv()
814 EFI_FIRMWARE_VOLUME_HEADER *FwVolHeader; in FaultTolerantUpdateOnPartFv()
815 EFI_FIRMWARE_VOLUME_HEADER *FwVolHeaderTmp; in FaultTolerantUpdateOnPartFv()
850 FwVolHeaderTmp = (EFI_FIRMWARE_VOLUME_HEADER *)(UINTN)FvBase; in FaultTolerantUpdateOnPartFv()
855 FwVolHeader = (EFI_FIRMWARE_VOLUME_HEADER *)AllocateCopyPool ( in FaultTolerantUpdateOnPartFv()
1115 EFI_FIRMWARE_VOLUME_HEADER *FwVolHeader; in NonFaultTolerantUpdateOnPartFv()
1116 EFI_FIRMWARE_VOLUME_HEADER *FwVolHeaderTmp; in NonFaultTolerantUpdateOnPartFv()
1139 FwVolHeaderTmp = (EFI_FIRMWARE_VOLUME_HEADER *)(UINTN)BaseAddress; in NonFaultTolerantUpdateOnPartFv()
[all …]
/device/linaro/bootloader/edk2/IntelFrameworkPkg/Include/Framework/
DPeiCis.h74 IN OUT EFI_FIRMWARE_VOLUME_HEADER **FwVolHeader
100 IN EFI_FIRMWARE_VOLUME_HEADER *FwVolHeader,
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/
DFindFv.c92 IN OUT EFI_FIRMWARE_VOLUME_HEADER **FvAddress in FindFv()
164 *FvAddress = (EFI_FIRMWARE_VOLUME_HEADER *) ((UINTN) FvHob->BaseAddress); in FindFv()

123456