/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/ |
D | FirmwareVolumeBufferLib.h | 24 IN OUT VOID *Fv, 30 IN OUT VOID **Fv, 36 IN OUT VOID *Fv, 47 IN OUT VOID *Fv 52 IN OUT VOID *Fv 90 IN VOID **Fv, 96 IN VOID *Fv, 103 IN VOID *Fv, 110 IN VOID *Fv, 139 IN VOID *Fv, [all …]
|
D | FirmwareVolumeBuffer.c | 89 IN OUT VOID *Fv, in FvBufRemoveFileNew() argument 116 Fv, in FvBufRemoveFileNew() 129 (((EFI_FIRMWARE_VOLUME_HEADER*)Fv)->Attributes & EFI_FVB2_ERASE_POLARITY) in FvBufRemoveFileNew() 139 IN OUT VOID *Fv, in FvBufRemoveFile() argument 168 Fv, in FvBufRemoveFile() 176 Status = FvBufGetSize (Fv, &FvLength); in FvBufRemoveFile() 182 Status = FvBufDuplicate (Fv, (VOID **)&TempFv); in FvBufRemoveFile() 199 Status = FvBufFindNextFile (Fv, &FileKey, (VOID **)&NextFile); in FvBufRemoveFile() 219 CommonLibBinderCopyMem (Fv, TempFv, FvLength); in FvBufRemoveFile() 284 IN OUT VOID *Fv in FvBufChecksumHeader() argument [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/ |
D | GetImage.c | 31 IN EFI_FIRMWARE_VOLUME_PROTOCOL *Fv, in GetImageFromFv() argument 33 IN EFI_FIRMWARE_VOLUME2_PROTOCOL *Fv, in GetImageFromFv() 51 Status = Fv->ReadSection ( in GetImageFromFv() 52 Fv, in GetImageFromFv() 67 Status = Fv->ReadSection ( in GetImageFromFv() 68 Fv, in GetImageFromFv() 85 Status = Fv->ReadFile ( in GetImageFromFv() 86 Fv, in GetImageFromFv() 127 EFI_FIRMWARE_VOLUME_PROTOCOL *Fv; in GetImageEx() local 130 EFI_FIRMWARE_VOLUME2_PROTOCOL *Fv; in GetImageEx() local [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/ |
D | GetImage.c | 31 IN EFI_FIRMWARE_VOLUME_PROTOCOL *Fv, in GetImageFromFv() argument 33 IN EFI_FIRMWARE_VOLUME2_PROTOCOL *Fv, in GetImageFromFv() 51 Status = Fv->ReadSection ( in GetImageFromFv() 52 Fv, in GetImageFromFv() 67 Status = Fv->ReadSection ( in GetImageFromFv() 68 Fv, in GetImageFromFv() 85 Status = Fv->ReadFile ( in GetImageFromFv() 86 Fv, in GetImageFromFv() 127 EFI_FIRMWARE_VOLUME_PROTOCOL *Fv; in GetImageEx() local 130 EFI_FIRMWARE_VOLUME2_PROTOCOL *Fv; in GetImageEx() local [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Pei/PeiMain/ |
D | PeiMain.c | 92 Status = PrivateData->Fv[0].FvPpi->FindFileByType ( in ShadowPeiCore() 93 PrivateData->Fv[0].FvPpi, in ShadowPeiCore() 95 PrivateData->Fv[0].FvHandle, in ShadowPeiCore() 189 …OldCoreData->Fv = (PEI_CORE_FV_HANDLE *) ((UINT8 *) OldCoreData->Fv + OldCoreDat… in PeiCore() 191 …OldCoreData->Fv[Index].PeimState = (UINT8 *) OldCoreData->Fv[Index].PeimState + OldCoreData->H… in PeiCore() 192 …OldCoreData->Fv[Index].FvFileHandles = (EFI_PEI_FILE_HANDLE *) ((UINT8 *) OldCoreData->Fv[Index].F… in PeiCore() 201 …OldCoreData->Fv = (PEI_CORE_FV_HANDLE *) ((UINT8 *) OldCoreData->Fv - OldCoreDat… in PeiCore() 203 …OldCoreData->Fv[Index].PeimState = (UINT8 *) OldCoreData->Fv[Index].PeimState - OldCoreData->H… in PeiCore() 204 …OldCoreData->Fv[Index].FvFileHandles = (EFI_PEI_FILE_HANDLE *) ((UINT8 *) OldCoreData->Fv[Index].F… in PeiCore() 324 …PrivateData.Fv = AllocateZeroPool (sizeof (PEI_CORE_FV_HANDLE) * PcdGet32 (PcdPe… in PeiCore() [all …]
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/GenFds/ |
D | FvImageSection.py | 98 Fv = GenFdsGlobalVariable.FdfParser.Profile.FvDict.get(self.FvName) 99 if Fv != None: 100 self.Fv = Fv 101 FvFileName = Fv.AddToBuffer(Buffer, self.FvAddr, MacroDict = Dict) 102 if Fv.FvAlignment != None: 104 self.Alignment = Fv.FvAlignment 106 …if GenFdsGlobalVariable.GetAlignment (Fv.FvAlignment) > GenFdsGlobalVariable.GetAlignment (self.Al… 107 self.Alignment = Fv.FvAlignment
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Dispatcher/ |
D | Dispatcher.c | 152 IN EFI_FIRMWARE_VOLUME2_PROTOCOL *Fv, 180 IN EFI_FIRMWARE_VOLUME2_PROTOCOL *Fv, 200 IN EFI_FIRMWARE_VOLUME2_PROTOCOL *Fv, 252 EFI_FIRMWARE_VOLUME2_PROTOCOL *Fv; in CoreGetDepexSectionAndPreProccess() local 255 Fv = DriverEntry->Fv; in CoreGetDepexSectionAndPreProccess() 261 Status = Fv->ReadSection ( in CoreGetDepexSectionAndPreProccess() 262 DriverEntry->Fv, in CoreGetDepexSectionAndPreProccess() 538 … Status = CoreProcessFvImageFile (DriverEntry->Fv, DriverEntry->FvHandle, &DriverEntry->FileName); in CoreDispatcher() 831 IN EFI_FIRMWARE_VOLUME2_PROTOCOL *Fv, in CoreFvToDevicePath() argument 887 IN EFI_FIRMWARE_VOLUME2_PROTOCOL *Fv, in CoreAddToDriverList() argument [all …]
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Library/BiosIdLib/ |
D | BiosIdLib.c | 51 IN EFI_FIRMWARE_VOLUME2_PROTOCOL *Fv, in GetImageFromFv() 68 Status = Fv->ReadSection ( in GetImageFromFv() 69 Fv, in GetImageFromFv() 84 Status = Fv->ReadSection ( in GetImageFromFv() 85 Fv, in GetImageFromFv() 102 Status = Fv->ReadFile ( in GetImageFromFv() 103 Fv, in GetImageFromFv() 134 EFI_FIRMWARE_VOLUME2_PROTOCOL *Fv; 184 (VOID**)&Fv 192 if (ImageFv != NULL && Fv == ImageFv) { [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/LoadFileOnFv2/ |
D | LoadFileOnFv2.c | 37 EFI_FIRMWARE_VOLUME2_PROTOCOL *Fv; member 112 Status = Private->Fv->ReadSection ( in LoadFileOnFv2LoadFile() 113 Private->Fv, in LoadFileOnFv2LoadFile() 139 return Private->Fv->ReadSection ( in LoadFileOnFv2LoadFile() 140 Private->Fv, in LoadFileOnFv2LoadFile() 249 EFI_FIRMWARE_VOLUME2_PROTOCOL *Fv; in InstallFileLoadProtocol() local 263 Status = gBS->HandleProtocol (Handle, &gEfiFirmwareVolume2ProtocolGuid, (VOID **)&Fv); in InstallFileLoadProtocol() 277 Status = Fv->GetNextFile (Fv, &Key, &FileType, &NameGuid, &Attributes, &Size); in InstallFileLoadProtocol() 283 Status = Fv->ReadSection ( in InstallFileLoadProtocol() 284 Fv, in InstallFileLoadProtocol() [all …]
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Ebl/ |
D | Dir.c | 85 EFI_FIRMWARE_VOLUME2_PROTOCOL *Fv; in EblDirCmd() local 151 Fv = File->Fv; in EblDirCmd() 156 GetNextFileStatus = Fv->GetNextFile ( in EblDirCmd() 157 Fv, in EblDirCmd() 169 Status = Fv->ReadFile ( in EblDirCmd() 170 Fv, in EblDirCmd() 187 Status = Fv->ReadSection ( in EblDirCmd() 188 Fv, in EblDirCmd()
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/ |
D | FwVol.c | 225 if (FvDevice->Fv.ParentHandle != NULL) { in FwVolInheritAuthenticationStatus() 229 …Status = gBS->HandleProtocol (FvDevice->Fv.ParentHandle, &gEfiFirmwareVolume2ProtocolGuid, (VOID *… in FwVolInheritAuthenticationStatus() 652 EFI_FIRMWARE_VOLUME2_PROTOCOL *Fv; in FwVolDriverInit() local 699 (VOID **) &Fv in FwVolDriverInit() 718 FvDevice->Fv.GetVolumeAttributes = FvGetVolumeAttributes; in FwVolDriverInit() 719 FvDevice->Fv.SetVolumeAttributes = FvSetVolumeAttributes; in FwVolDriverInit() 720 FvDevice->Fv.ReadFile = FvReadFile; in FwVolDriverInit() 721 FvDevice->Fv.ReadSection = FvReadFileSection; in FwVolDriverInit() 722 FvDevice->Fv.WriteFile = FvWriteFile; in FwVolDriverInit() 723 FvDevice->Fv.GetNextFile = FvGetNextFile; in FwVolDriverInit() [all …]
|
/device/linaro/bootloader/edk2/OvmfPkg/Sec/ |
D | SecMain.c | 101 EFI_FIRMWARE_VOLUME_HEADER *Fv; in FindMainFv() local 106 Fv = *BootFv; in FindMainFv() 109 Fv = (EFI_FIRMWARE_VOLUME_HEADER*) ((UINT8*) Fv - EFI_PAGE_SIZE); in FindMainFv() 115 if (Fv->Signature != EFI_FVH_SIGNATURE) { in FindMainFv() 119 if ((UINTN) Fv->FvLength > Distance) { in FindMainFv() 123 *BootFv = Fv; in FindMainFv() 251 IN EFI_FIRMWARE_VOLUME_HEADER *Fv, in FindFfsFileAndSection() argument 264 if (Fv->Signature != EFI_FVH_SIGNATURE) { in FindFfsFileAndSection() 265 DEBUG ((EFI_D_ERROR, "FV at %p does not have FV header signature\n", Fv)); in FindFfsFileAndSection() 269 CurrentAddress = (EFI_PHYSICAL_ADDRESS)(UINTN) Fv; in FindFfsFileAndSection() [all …]
|
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Library/PlatformIntelBdsLib/ |
D | IntelBdsPlatformCommon.c | 64 EFI_FIRMWARE_VOLUME2_PROTOCOL *Fv; in HwBdsLibRegisterAppBootOption() local 81 (VOID **) &Fv in HwBdsLibRegisterAppBootOption() 84 Status = Fv->ReadFile ( in HwBdsLibRegisterAppBootOption() 85 Fv, in HwBdsLibRegisterAppBootOption()
|
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/TrEEPei/ |
D | TrEEPei.c | 358 if (mMeasurementExcludedFvPpi->Fv[Index].FvBase == FvBase) { in MeasureFvImage() 485 EFI_PEI_FIRMWARE_VOLUME_INFO_PPI *Fv; in FirmwareVolmeInfoPpiNotifyCallback() local 490 Fv = (EFI_PEI_FIRMWARE_VOLUME_INFO_PPI *) Ppi; in FirmwareVolmeInfoPpiNotifyCallback() 496 &Fv->FvFormat, in FirmwareVolmeInfoPpiNotifyCallback() 509 if (Fv->ParentFvName != NULL || Fv->ParentFileName != NULL ) { in FirmwareVolmeInfoPpiNotifyCallback() 517 if (mMeasuredChildFvInfo[Index].BlobBase == (EFI_PHYSICAL_ADDRESS) (UINTN) Fv->FvInfo) { in FirmwareVolmeInfoPpiNotifyCallback() 521 …mMeasuredChildFvInfo[mMeasuredChildFvIndex].BlobBase = (EFI_PHYSICAL_ADDRESS) (UINTN) Fv->FvInfo; in FirmwareVolmeInfoPpiNotifyCallback() 522 mMeasuredChildFvInfo[mMeasuredChildFvIndex].BlobLength = Fv->FvInfoSize; in FirmwareVolmeInfoPpiNotifyCallback() 528 return MeasureFvImage ((EFI_PHYSICAL_ADDRESS) (UINTN) Fv->FvInfo, Fv->FvInfoSize); in FirmwareVolmeInfoPpiNotifyCallback()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/PiSmmCore/ |
D | Dispatcher.c | 324 EFI_FIRMWARE_VOLUME2_PROTOCOL *Fv; in SmmLoadImage() local 335 Fv = DriverEntry->Fv; in SmmLoadImage() 381 Status = Fv->ReadSection ( in SmmLoadImage() 382 Fv, in SmmLoadImage() 397 Status = Fv->ReadSection ( in SmmLoadImage() 398 Fv, in SmmLoadImage() 771 EFI_FIRMWARE_VOLUME2_PROTOCOL *Fv; in SmmGetDepexSectionAndPreProccess() local 773 Fv = DriverEntry->Fv; in SmmGetDepexSectionAndPreProccess() 780 Status = Fv->ReadSection ( in SmmGetDepexSectionAndPreProccess() 781 DriverEntry->Fv, in SmmGetDepexSectionAndPreProccess() [all …]
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformGopPolicy/ |
D | PlatformGopPolicy.c | 86 EFI_FIRMWARE_VOLUME2_PROTOCOL *Fv; in GetVbtData() 112 (VOID **) &Fv in GetVbtData() 115 Status = Fv->ReadSection ( in GetVbtData() 116 Fv, in GetVbtData()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Pei/FwVol/ |
D | FwVol.c | 68 &mPeiFfs2FwVol.Fv 74 &mPeiFfs3FwVol.Fv 218 FwVolHeader = PrivateData->Fv[Index].FvHeader; in FileHandleToVolume() 224 if ((UINT64) (UINTN) PrivateData->Fv[BestIndex].FvHeader < (UINT64) (UINTN) FwVolHeader) { in FileHandleToVolume() 232 return &PrivateData->Fv[BestIndex]; in FileHandleToVolume() 495 PrivateData->Fv[PrivateData->FvCount].FvHeader = BfvHeader; in PeiInitializeFv() 496 PrivateData->Fv[PrivateData->FvCount].FvPpi = FvPpi; in PeiInitializeFv() 497 PrivateData->Fv[PrivateData->FvCount].FvHandle = FvHandle; in PeiInitializeFv() 498 PrivateData->Fv[PrivateData->FvCount].AuthenticationStatus = 0; in PeiInitializeFv() 605 if (PrivateData->Fv[FvIndex].FvHandle == FvHandle) { in FirmwareVolmeInfoPpiNotifyCallback() [all …]
|
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/TcgPei/ |
D | TcgPei.c | 381 if (mMeasurementExcludedFvPpi->Fv[Index].FvBase == FvBase) { in MeasureFvImage() 509 EFI_PEI_FIRMWARE_VOLUME_INFO_PPI *Fv; in FirmwareVolmeInfoPpiNotifyCallback() local 514 Fv = (EFI_PEI_FIRMWARE_VOLUME_INFO_PPI *) Ppi; in FirmwareVolmeInfoPpiNotifyCallback() 520 &Fv->FvFormat, in FirmwareVolmeInfoPpiNotifyCallback() 533 if (Fv->ParentFvName != NULL || Fv->ParentFileName != NULL ) { in FirmwareVolmeInfoPpiNotifyCallback() 541 if (mMeasuredChildFvInfo[Index].BlobBase == (EFI_PHYSICAL_ADDRESS) (UINTN) Fv->FvInfo) { in FirmwareVolmeInfoPpiNotifyCallback() 545 …mMeasuredChildFvInfo[mMeasuredChildFvIndex].BlobBase = (EFI_PHYSICAL_ADDRESS) (UINTN) Fv->FvInfo; in FirmwareVolmeInfoPpiNotifyCallback() 546 mMeasuredChildFvInfo[mMeasuredChildFvIndex].BlobLength = Fv->FvInfoSize; in FirmwareVolmeInfoPpiNotifyCallback() 552 return MeasureFvImage ((EFI_PHYSICAL_ADDRESS) (UINTN) Fv->FvInfo, Fv->FvInfoSize); in FirmwareVolmeInfoPpiNotifyCallback()
|
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Tcg2Pei/ |
D | Tcg2Pei.c | 468 if (mMeasurementExcludedFvPpi->Fv[Index].FvBase == FvBase) { in MeasureFvImage() 595 EFI_PEI_FIRMWARE_VOLUME_INFO_PPI *Fv; in FirmwareVolmeInfoPpiNotifyCallback() local 600 Fv = (EFI_PEI_FIRMWARE_VOLUME_INFO_PPI *) Ppi; in FirmwareVolmeInfoPpiNotifyCallback() 606 &Fv->FvFormat, in FirmwareVolmeInfoPpiNotifyCallback() 619 if (Fv->ParentFvName != NULL || Fv->ParentFileName != NULL ) { in FirmwareVolmeInfoPpiNotifyCallback() 627 if (mMeasuredChildFvInfo[Index].BlobBase == (EFI_PHYSICAL_ADDRESS) (UINTN) Fv->FvInfo) { in FirmwareVolmeInfoPpiNotifyCallback() 631 …mMeasuredChildFvInfo[mMeasuredChildFvIndex].BlobBase = (EFI_PHYSICAL_ADDRESS) (UINTN) Fv->FvInfo; in FirmwareVolmeInfoPpiNotifyCallback() 632 mMeasuredChildFvInfo[mMeasuredChildFvIndex].BlobLength = Fv->FvInfoSize; in FirmwareVolmeInfoPpiNotifyCallback() 638 return MeasureFvImage ((EFI_PHYSICAL_ADDRESS) (UINTN) Fv->FvInfo, Fv->FvInfoSize); in FirmwareVolmeInfoPpiNotifyCallback()
|
/device/linaro/bootloader/edk2/MdePkg/Library/DxeServicesLib/ |
D | DxeServicesLib.c | 124 EFI_FIRMWARE_VOLUME2_PROTOCOL *Fv; in InternalGetSectionFromFv() local 136 (VOID **) &Fv in InternalGetSectionFromFv() 147 Status = Fv->ReadSection ( in InternalGetSectionFromFv() 148 Fv, in InternalGetSectionFromFv() 163 Status = Fv->ReadSection ( in InternalGetSectionFromFv() 164 Fv, in InternalGetSectionFromFv() 244 EFI_FIRMWARE_VOLUME2_PROTOCOL *Fv; in GetSectionFromAnyFvByFileType() local 268 (VOID **)&Fv in GetSectionFromAnyFvByFileType() 280 Status = Fv->GetNextFile (Fv, &Key, &FileType, &NameGuid, &Attributes, Size); in GetSectionFromAnyFvByFileType()
|
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/D03/Drivers/PciPlatform/ |
D | PciPlatform.c | 167 EFI_FIRMWARE_VOLUME2_PROTOCOL *Fv; in GetRawImage() local 187 (VOID **)&Fv in GetRawImage() 197 Status = Fv->ReadSection ( in GetRawImage() 198 Fv, in GetRawImage()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Pei/Dispatcher/ |
D | Dispatcher.c | 68 if (Private->Fv[Private->CurrentPeimFvCount].ScanFv) { in DiscoverPeimsAndOrderWithApriori() 69 …CopyMem (Private->CurrentFvFileHandles, Private->Fv[Private->CurrentPeimFvCount].FvFileHandles, si… in DiscoverPeimsAndOrderWithApriori() 183 Private->Fv[Private->CurrentPeimFvCount].ScanFv = TRUE; in DiscoverPeimsAndOrderWithApriori() 184 …CopyMem (Private->Fv[Private->CurrentPeimFvCount].FvFileHandles, Private->CurrentFvFileHandles, si… in DiscoverPeimsAndOrderWithApriori() 961 …for (Index2 = 0; (Index2 < PcdGet32 (PcdPeiCoreMaxPeimPerFv)) && (Private->Fv[Index1].FvFileHandle… in PeiDispatcher() 962 if (Private->Fv[Index1].PeimState[Index2] == PEIM_STATE_REGISITER_FOR_SHADOW) { in PeiDispatcher() 963 PeimFileHandle = Private->Fv[Index1].FvFileHandles[Index2]; in PeiDispatcher() 978 Private->Fv[Index1].PeimState[Index2]++; in PeiDispatcher() 1052 if (Private->Fv[FvCount].PeimState[PeimCount] == PEIM_STATE_NOT_DISPATCHED) { in PeiDispatcher() 1062 Status = ProcessFvFile (Private, &Private->Fv[FvCount], PeimFileHandle); in PeiDispatcher() [all …]
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PciPlatform/ |
D | PciPlatform.c | 78 EFI_FIRMWARE_VOLUME_PROTOCOL *Fv; 99 (VOID **) &Fv 111 Status = Fv->ReadSection ( 112 Fv,
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/ |
D | PlatformCapsule.fdf | 39 $(WORKSPACE)/$(OUTPUT_DIRECTORY)/$(TARGET)_$(TOOL_CHAIN_TAG)/FV/CAPSULEDISPATCHFV.Fv 54 …DATA = $(WORKSPACE)/$(OUTPUT_DIRECTORY)/$(TARGET)_$(TOOL_CHAIN_TAG)/FV/SYSTEMFIRMWAREUPDATECARGO.Fv 64 …DATA = $(WORKSPACE)/$(OUTPUT_DIRECTORY)/$(TARGET)_$(TOOL_CHAIN_TAG)/FV/SYSTEMFIRMWAREUPDATECARGO.Fv
|
D | PlatformCapsuleGcc.fdf | 39 $(WORKSPACE)/$(OUTPUT_DIRECTORY)/$(TARGET)_$(TOOL_CHAIN_TAG)/FV/CAPSULEDISPATCHFV.Fv 54 …DATA = $(WORKSPACE)/$(OUTPUT_DIRECTORY)/$(TARGET)_$(TOOL_CHAIN_TAG)/FV/SYSTEMFIRMWAREUPDATECARGO.Fv 64 …DATA = $(WORKSPACE)/$(OUTPUT_DIRECTORY)/$(TARGET)_$(TOOL_CHAIN_TAG)/FV/SYSTEMFIRMWAREUPDATECARGO.Fv
|