Home
last modified time | relevance | path

Searched refs:FvAlignment (Results 1 – 25 of 38) sorted by relevance

12

/device/linaro/bootloader/edk2/BaseTools/Source/Python/GenFds/
DFvImageSection.py77 if Fv.FvAlignment != None:
79 self.Alignment = Fv.FvAlignment
81 …if GenFdsGlobalVariable.GetAlignment (Fv.FvAlignment) > GenFdsGlobalVariable.GetAlignment (self.Al…
82 self.Alignment = Fv.FvAlignment
DFv.py200 self.FvAlignment = "64K"
202 self.FvAlignment = str (FvAlignmentValue / 0x400) + "K"
205 self.FvAlignment = str (FvAlignmentValue)
311 if self.FvAlignment != None:
313 self.FvAlignment.strip() + \
DRegion.py99 FvAlignValue = self.GetFvAlignValue(FvObj.FvAlignment)
102 … "FV (%s) is NOT %s Aligned!" % (FvObj.UiFvName, FvObj.FvAlignment))
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/FwVolBlock/
DFwVolBlock.c466 UINT32 FvAlignment; in ProduceFVBProtocolOnBuffer() local
469 FvAlignment = 0; in ProduceFVBProtocolOnBuffer()
487 FvAlignment = 1 << ((FwVolHeader->Attributes & EFI_FVB2_ALIGNMENT) >> 16); in ProduceFVBProtocolOnBuffer()
491 if (FvAlignment < 8) { in ProduceFVBProtocolOnBuffer()
492 FvAlignment = 8; in ProduceFVBProtocolOnBuffer()
494 if ((UINTN)BaseAddress % FvAlignment != 0) { in ProduceFVBProtocolOnBuffer()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/DxeCapsuleLib/
DDxeCapsuleLib.c429 UINT32 FvAlignment; in ProcessCapsuleImage() local
474 FvAlignment = 1 << ((FvImage->Attributes & EFI_FVB2_ALIGNMENT) >> 16); in ProcessCapsuleImage()
478 if (FvAlignment < 8) { in ProcessCapsuleImage()
479 FvAlignment = 8; in ProcessCapsuleImage()
484 if (((UINTN) FvImage % FvAlignment) == 0) { in ProcessCapsuleImage()
490 … AllocateAlignedPages ((UINTN) EFI_SIZE_TO_PAGES ((UINTN) FvImage->FvLength), (UINTN) FvAlignment); in ProcessCapsuleImage()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/FirmwareVolume/UpdateDriverDxe/
DUpdateDispatcher.c532 UINT32 FvAlignment; in ProcessUpdateImage() local
540 FvAlignment = 1 << ((FwVolHeader->Attributes & EFI_FVB2_ALIGNMENT) >> 16); in ProcessUpdateImage()
544 if (FvAlignment < 8) { in ProcessUpdateImage()
545 FvAlignment = 8; in ProcessUpdateImage()
550 if (((UINTN) FwVolHeader % FvAlignment) == 0) { in ProcessUpdateImage()
556 … ProcessedDataBuffer = AllocateAlignedPages (EFI_SIZE_TO_PAGES (BufferSize), (UINTN) FvAlignment); in ProcessUpdateImage()
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/PrePiLib/
DFwVol.c765 UINT32 FvAlignment; in FfsProcessFvFile() local
805 FvAlignment = 1 << ((FvImageInfo.FvAttributes & EFI_FVB2_ALIGNMENT) >> 16); in FfsProcessFvFile()
806 if (FvAlignment < 8) { in FfsProcessFvFile()
807 FvAlignment = 8; in FfsProcessFvFile()
813 if ((UINTN) FvImageInfo.FvStart % FvAlignment != 0) { in FfsProcessFvFile()
814 FvBuffer = AllocateAlignedPages (EFI_SIZE_TO_PAGES ((UINT32) FvImageInfo.FvSize), FvAlignment); in FfsProcessFvFile()
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Dispatcher/
DDispatcher.c988 UINT32 FvAlignment; in CoreProcessFvImageFile() local
996 FvAlignment = 0; in CoreProcessFvImageFile()
1049 FvAlignment = 1 << ((FvHeader->Attributes & EFI_FVB2_ALIGNMENT) >> 16); in CoreProcessFvImageFile()
1053 if (FvAlignment < 8) { in CoreProcessFvImageFile()
1054 FvAlignment = 8; in CoreProcessFvImageFile()
1059 AlignedBuffer = AllocateAlignedPages (EFI_SIZE_TO_PAGES (BufferSize), (UINTN) FvAlignment); in CoreProcessFvImageFile()
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/
DPlatformPkgGcc.fdf181 FvAlignment = 16
214 FvAlignment = 16 #FV alignment and FV attributes setting.
268 FvAlignment = 16 #FV alignment and FV attributes setting.
335 FvAlignment = 16
681 FvAlignment = 16
724 FvAlignment = 16
744 FvAlignment = 16
767 FvAlignment = 16
788 FvAlignment = 16
DPlatformPkg.fdf224 FvAlignment = 16
257 FvAlignment = 16 #FV alignment and FV attributes setting.
311 FvAlignment = 16 #FV alignment and FV attributes setting.
378 FvAlignment = 16
724 FvAlignment = 16
767 FvAlignment = 16
787 FvAlignment = 16
810 FvAlignment = 16
831 FvAlignment = 16
/device/linaro/bootloader/edk2/ArmPlatformPkg/
DArmPlatformPkg.fdf97 FvAlignment = 8
120 FvAlignment = 8 # FV alignment and FV attributes setting.
185 FvAlignment = 8
DArmPlatformPkg-2ndstage.fdf71 FvAlignment = 8 # FV alignment and FV attributes setting.
136 FvAlignment = 8
/device/linaro/bootloader/edk2/OvmfPkg/
DOvmfPkgX64.fdf114 FvAlignment = 16
144 FvAlignment = 16
182 FvAlignment = 16
388 FvAlignment = 16
DOvmfPkgIa32X64.fdf114 FvAlignment = 16
144 FvAlignment = 16
182 FvAlignment = 16
388 FvAlignment = 16
DOvmfPkgIa32.fdf114 FvAlignment = 16
144 FvAlignment = 16
182 FvAlignment = 16
388 FvAlignment = 16
/device/linaro/bootloader/edk2/ArmPlatformPkg/ArmVExpressPkg/
DArmVExpress-RTSM-A15_MPCore.fdf74 FvAlignment = 8
97 FvAlignment = 8 # FV alignment and FV attributes setting.
226 FvAlignment = 8
DArmVExpress-FVP-AArch64.fdf88 FvAlignment = 16
111 FvAlignment = 16 # FV alignment and FV attributes setting.
262 FvAlignment = 16
/device/linaro/bootloader/OpenPlatformPkg/Platforms/ARM/VExpress/
DArmVExpress-RTSM-A15_MPCore.fdf73 FvAlignment = 8
96 FvAlignment = 8 # FV alignment and FV attributes setting.
215 FvAlignment = 8
DArmVExpress-FVP-AArch64.fdf87 FvAlignment = 16
110 FvAlignment = 16 # FV alignment and FV attributes setting.
281 FvAlignment = 16
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Pei/FwVol/
DFwVol.c1289 UINT32 FvAlignment; in ProcessFvFile() local
1358 FvAlignment = 1 << ((ReadUnaligned32 (&FvHeader->Attributes) & EFI_FVB2_ALIGNMENT) >> 16); in ProcessFvFile()
1359 if (FvAlignment < 8) { in ProcessFvFile()
1360 FvAlignment = 8; in ProcessFvFile()
1366 if ((UINTN) FvHeader % FvAlignment != 0) { in ProcessFvFile()
1368 NewFvBuffer = AllocateAlignedPages (EFI_SIZE_TO_PAGES ((UINT32) FvLength), FvAlignment); in ProcessFvFile()
/device/linaro/bootloader/edk2/CorebootPayloadPkg/
DCorebootPayloadPkg.fdf34 FvAlignment = 16
63 FvAlignment = 16
/device/linaro/bootloader/edk2/BaseTools/Source/Python/CommonDataClass/
DFdfClass.py57 self.FvAlignment = None
/device/linaro/bootloader/edk2/QuarkPlatformPkg/
DQuark.fdf273 FvAlignment = 16 #FV alignment and FV attributes setting.
365 FvAlignment = 16 #FV alignment and FV attributes setting.
402 FvAlignment = 16
580 FvAlignment = 16
615 FvAlignment = 16 #FV alignment and FV attributes setting.
DQuarkMin.fdf273 FvAlignment = 16 #FV alignment and FV attributes setting.
348 FvAlignment = 16
449 FvAlignment = 16
484 FvAlignment = 16 #FV alignment and FV attributes setting.
/device/linaro/bootloader/OpenPlatformPkg/Platforms/TexasInstruments/BeagleBoard/
DBeagleBoardPkg.fdf69 FvAlignment = 8 # FV alignment and FV attributes setting.
182 FvAlignment = 8

12