Home
last modified time | relevance | path

Searched refs:CapsuleSize (Results 1 – 11 of 11) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Universal/CapsulePei/Common/
DCapsuleCoalesce.c142 IN OUT UINTN *CapsuleSize OPTIONAL,
311 UINT64 CapsuleSize; in ValidateCapsuleIntegrity() local
328 CapsuleSize = 0; in ValidateCapsuleIntegrity()
369 if (CapsuleSize == 0) { in ValidateCapsuleIntegrity()
392 CapsuleSize = CapsuleHeader->CapsuleImageSize; in ValidateCapsuleIntegrity()
395 if (CapsuleSize >= Ptr->Length) { in ValidateCapsuleIntegrity()
396 CapsuleSize = CapsuleSize - Ptr->Length; in ValidateCapsuleIntegrity()
398 …DEBUG ((EFI_D_ERROR, "ERROR: CapsuleSize(0x%lx) < Ptr->Length(0x%lx)\n", CapsuleSize, Ptr->Length)… in ValidateCapsuleIntegrity()
426 if (CapsuleSize != 0) { in ValidateCapsuleIntegrity()
430 DEBUG ((EFI_D_ERROR, "ERROR: CapsuleSize(0x%lx) != 0\n", CapsuleSize)); in ValidateCapsuleIntegrity()
[all …]
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/HalRuntimeServicesExampleLib/
DCapsule.c92 UINTN CapsuleSize; in LibUpdateCapsule() local
164 CapsuleSize = CapsuleHeader->CapsuleImageSize - CapsuleHeader->HeaderSize; in LibUpdateCapsule()
165 Status = gBS->AllocatePool (EfiBootServicesData, CapsuleSize, &BufferPtr); in LibUpdateCapsule()
169 gBS->CopyMem (BufferPtr, (UINT8*)CapsuleHeader+ CapsuleHeader->HeaderSize, CapsuleSize); in LibUpdateCapsule()
174 Status = gDS->ProcessFirmwareVolume (BufferPtr, CapsuleSize, &FvHandle); in LibUpdateCapsule()
/device/linaro/bootloader/edk2/SignedCapsulePkg/Universal/RecoveryModuleLoadPei/
DRecoveryModuleLoadPei.c216 IN UINT64 CapsuleSize in IsValidCapsuleHeader() argument
219 if (CapsuleHeader->CapsuleImageSize != CapsuleSize) { in IsValidCapsuleHeader()
678 IN UINTN CapsuleSize in ProcessRecoveryCapsule() argument
686 if (!IsValidCapsuleHeader (CapsuleHeader, CapsuleSize)) { in ProcessRecoveryCapsule()
743 UINTN CapsuleSize; in LoadRecoveryCapsule() local
771 CapsuleSize = 0; in LoadRecoveryCapsule()
776 &CapsuleSize, in LoadRecoveryCapsule()
779 …RecoveryCapsule - GetRecoveryCapsuleInfo (%d - %x) - %r\n", CapsuleInstance, CapsuleSize, Status)); in LoadRecoveryCapsule()
784 CapsuleBuffer = AllocatePages (EFI_SIZE_TO_PAGES(CapsuleSize)); in LoadRecoveryCapsule()
797 FreePages (CapsuleBuffer, EFI_SIZE_TO_PAGES(CapsuleSize)); in LoadRecoveryCapsule()
[all …]
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Include/Guid/
DQuarkCapsuleGuid.h39 UINTN CapsuleSize; // Size of the capsule member
/device/linaro/bootloader/edk2/Vlv2DeviceRefCodePkg/ValleyView2Soc/NorthCluster/Include/Ppi/
DCapsule.h49 IN UINTN CapsuleSize // returned from coalesce
/device/linaro/bootloader/edk2/MdePkg/Include/Ppi/
DCapsule.h113 IN UINTN CapsuleSize
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Disk/CdExpressPei/
DPeiCdExpress.h63 UINTN CapsuleSize; member
DPeiCdExpress.c499 PrivateData->CapsuleData[PrivateData->CapsuleCount].CapsuleSize = FileRecord->DataLength[0]; in RetrieveCapsuleFileFromRoot()
607 *Size = PrivateData->CapsuleData[CapsuleInstance - 1].CapsuleSize; in GetRecoveryCapsuleInfo()
/device/linaro/bootloader/edk2/MdeModulePkg/Library/DxeCapsuleLibFmp/
DDxeCapsuleProcessLib.c94 IN UINT64 CapsuleSize
DDxeCapsuleLib.c152 IN UINT64 CapsuleSize in IsValidCapsuleHeader() argument
155 if (CapsuleHeader->CapsuleImageSize != CapsuleSize) { in IsValidCapsuleHeader()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/CapsulePei/
DUefiCapsule.c1101 IN UINTN CapsuleSize in CreateState() argument