Home
last modified time | relevance | path

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

12

/device/linaro/bootloader/edk2/BaseTools/Source/Python/GenFds/
DFvImageSection.py102 if Fv.FvAlignment != None:
104 self.Alignment = Fv.FvAlignment
106 …if GenFdsGlobalVariable.GetAlignment (Fv.FvAlignment) > GenFdsGlobalVariable.GetAlignment (self.Al…
107 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.py119 FvAlignValue = self.GetFvAlignValue(FvObj.FvAlignment)
122 … "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()
503 FvAlignment in ProduceFVBProtocolOnBuffer()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/DxeCapsuleLib/
DDxeCapsuleLib.c427 UINT32 FvAlignment; in ProcessCapsuleImage() local
472 FvAlignment = 1 << ((FvImage->Attributes & EFI_FVB2_ALIGNMENT) >> 16); in ProcessCapsuleImage()
476 if (FvAlignment < 8) { in ProcessCapsuleImage()
477 FvAlignment = 8; in ProcessCapsuleImage()
482 if (((UINTN) FvImage % FvAlignment) == 0) { in ProcessCapsuleImage()
488 … AllocateAlignedPages ((UINTN) EFI_SIZE_TO_PAGES ((UINTN) FvImage->FvLength), (UINTN) FvAlignment); in ProcessCapsuleImage()
/device/linaro/bootloader/edk2/MdePkg/Library/PeiHobLib/
DHobLib.c493 UINT32 FvAlignment; in InternalCheckFvAlignment() local
495 FvAlignment = 0; in InternalCheckFvAlignment()
507 FvAlignment = 1 << ((FwVolHeader->Attributes & EFI_FVB2_ALIGNMENT) >> 16); in InternalCheckFvAlignment()
511 if (FvAlignment < 8) { in InternalCheckFvAlignment()
512 FvAlignment = 8; in InternalCheckFvAlignment()
514 if ((UINTN)BaseAddress % FvAlignment != 0) { in InternalCheckFvAlignment()
523 FvAlignment in InternalCheckFvAlignment()
/device/linaro/bootloader/edk2/IntelFrameworkPkg/Library/PeiHobLibFramework/
DHobLib.c495 UINT32 FvAlignment; in InternalCheckFvAlignment() local
497 FvAlignment = 0; in InternalCheckFvAlignment()
509 FvAlignment = 1 << ((FwVolHeader->Attributes & EFI_FVB2_ALIGNMENT) >> 16); in InternalCheckFvAlignment()
513 if (FvAlignment < 8) { in InternalCheckFvAlignment()
514 FvAlignment = 8; in InternalCheckFvAlignment()
516 if ((UINTN)BaseAddress % FvAlignment != 0) { in InternalCheckFvAlignment()
525 FvAlignment in InternalCheckFvAlignment()
/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/SignedCapsulePkg/Universal/RecoveryModuleLoadPei/
DRecoveryModuleLoadPei.c419 UINT32 FvAlignment; in CreateHobForRecoveryCapsule() local
443 FvAlignment = 1 << ((ReadUnaligned32 (&FvHeader->Attributes) & EFI_FVB2_ALIGNMENT) >> 16); in CreateHobForRecoveryCapsule()
447 if (FvAlignment < 8) { in CreateHobForRecoveryCapsule()
448 FvAlignment = 8; in CreateHobForRecoveryCapsule()
453 if ((UINTN) FvHeader % FvAlignment != 0) { in CreateHobForRecoveryCapsule()
456 NewFvBuffer = AllocateAlignedPages (EFI_SIZE_TO_PAGES ((UINTN) FvLength), FvAlignment); in CreateHobForRecoveryCapsule()
/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/
DPlatformCapsule.fdf17 FvAlignment = 16
DPlatformCapsuleGcc.fdf17 FvAlignment = 16
DPlatformPkg.fdf227 FvAlignment = 16
250 FvAlignment = 16 #FV alignment and FV attributes setting.
288 FvAlignment = 16 #FV alignment and FV attributes setting.
351 FvAlignment = 16 #FV alignment and FV attributes setting.
423 FvAlignment = 16
796 FvAlignment = 16
839 FvAlignment = 16
859 FvAlignment = 16
DPlatformPkgGcc.fdf184 FvAlignment = 16
207 FvAlignment = 16 #FV alignment and FV attributes setting.
245 FvAlignment = 16 #FV alignment and FV attributes setting.
308 FvAlignment = 16 #FV alignment and FV attributes setting.
380 FvAlignment = 16
753 FvAlignment = 16
796 FvAlignment = 16
816 FvAlignment = 16
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Pei/FwVol/
DFwVol.c1305 UINT32 FvAlignment; in ProcessFvFile() local
1374 FvAlignment = 1 << ((ReadUnaligned32 (&FvHeader->Attributes) & EFI_FVB2_ALIGNMENT) >> 16); in ProcessFvFile()
1375 if (FvAlignment < 8) { in ProcessFvFile()
1376 FvAlignment = 8; in ProcessFvFile()
1382 if ((UINTN) FvHeader % FvAlignment != 0) { in ProcessFvFile()
1384 NewFvBuffer = AllocateAlignedPages (EFI_SIZE_TO_PAGES ((UINT32) FvLength), FvAlignment); in ProcessFvFile()
/device/linaro/bootloader/edk2/OvmfPkg/
DOvmfPkgX64.fdf101 FvAlignment = 16
132 FvAlignment = 16
173 FvAlignment = 16
387 FvAlignment = 16
DOvmfPkgIa32X64.fdf101 FvAlignment = 16
132 FvAlignment = 16
173 FvAlignment = 16
387 FvAlignment = 16
DOvmfPkgIa32.fdf101 FvAlignment = 16
132 FvAlignment = 16
173 FvAlignment = 16
387 FvAlignment = 16
/device/linaro/bootloader/edk2/QuarkPlatformPkg/
DQuark.fdf273 FvAlignment = 16 #FV alignment and FV attributes setting.
378 FvAlignment = 16 #FV alignment and FV attributes setting.
418 FvAlignment = 16
624 FvAlignment = 16
659 FvAlignment = 16 #FV alignment and FV attributes setting.
687 FvAlignment = 16
709 FvAlignment = 16
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/edk2/ArmVirtPkg/
DArmVirtXen.fdf110 FvAlignment = 16 # FV alignment and FV attributes setting.
202 FvAlignment = 16
/device/linaro/bootloader/edk2/BaseTools/Source/Python/CommonDataClass/
DFdfClass.py57 self.FvAlignment = None
/device/linaro/bootloader/edk2/CorebootPayloadPkg/
DCorebootPayloadPkg.fdf34 FvAlignment = 16
65 FvAlignment = 16
/device/linaro/bootloader/edk2/BeagleBoardPkg/
DBeagleBoardPkg.fdf80 FvAlignment = 8 # FV alignment and FV attributes setting.
194 FvAlignment = 8

12