Searched defs:ImageSize (Results 1 - 25 of 71) sorted by relevance

123

/device/linaro/bootloader/edk2/MdeModulePkg/Library/FmpAuthenticationLibNull/
H A DFmpAuthenticationLibNull.c38 @param[in] ImageSize Size of the authentication image in bytes.
50 @retval RETURN_UNSUPPORTED Image or ImageSize is invalid.
59 IN UINTN ImageSize,
57 AuthenticateFmpImage( IN EFI_FIRMWARE_IMAGE_AUTHENTICATION *Image, IN UINTN ImageSize, IN CONST UINT8 *PublicKeyData, IN UINTN PublicKeyDataLength ) argument
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Framework/Ppi/LoadedImage/
H A DLoadedImage.h46 UINT64 ImageSize; member in struct:_EFI_PEI_LOADED_IMAGE_PPI
/device/linaro/bootloader/edk2/MdePkg/Include/Ppi/
H A DLoadImage.h41 UINT64 ImageSize; member in struct:_EFI_PEI_LOADED_IMAGE_PPI
/device/linaro/bootloader/edk2/ArmPlatformPkg/Library/ArmShellCmdRunAxf/
H A DBootMonFsLoader.c94 @param[out] ImageSize Will be filled with the file size in memory. This
116 UINTN ImageSize; local
124 ImageSize = 0;
145 ImageSize += LoadNode->Length;
149 if ((!EFI_ERROR (Status)) && (ImageSize == 0)) {
H A DElfLoader.c268 @param[out] ImageSize Will be filled with the ELF size in memory. This will
287 UINTN ImageSize; local
308 ImageSize = 0;
326 ImageSize += ProgramHdrPtr->p_memsz;
331 if (ImageSize == 0) {
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/FvFileLoaderOnLoadFileThunk/
H A DFvFileLoaderOnLoadFileThunk.c38 @param ImageSize Pointer to the size of the loaded image.
51 OUT UINT64 *ImageSize,
98 @param ImageSize Pointer to the size of the loaded image.
111 OUT UINT64 *ImageSize,
131 ImageSize,
107 FrameworkLoadFile( IN EFI_PEI_FV_FILE_LOADER_PPI *This, IN EFI_FFS_FILE_HEADER *FfsHeader, OUT EFI_PHYSICAL_ADDRESS *ImageAddress, OUT UINT64 *ImageSize, OUT EFI_PHYSICAL_ADDRESS *EntryPoint ) argument
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeDeferImageLoadLib/
H A DDxeDeferImageLoadLib.h55 UINTN ImageSize; member in struct:__anon10171
74 Image may be NULL and ImageSize set to 0 if the decision to defer execution was made
84 @param[out] ImageSize On return, the size of the image, or 0 if the image is not available.
90 @retval EFI_INVALID_PARAMETER ImageDevicePath is NULL or Image is NULL or ImageSize is NULL or
101 OUT UINTN *ImageSize,
/device/linaro/bootloader/edk2/SecurityPkg/Library/FmpAuthenticationLibPkcs7/
H A DFmpAuthenticationLibPkcs7.c50 @param[in] ImageSize Size of the authentication image in bytes.
66 IN UINTN ImageSize,
77 DEBUG((DEBUG_INFO, "FmpAuthenticatedHandlerPkcs7 - Image: 0x%08x - 0x%08x\n", (UINTN)Image, (UINTN)ImageSize));
83 TempBuffer = AllocatePool(ImageSize - Image->AuthInfo.Hdr.dwLength);
93 ImageSize - sizeof(Image->MonotonicCount) - Image->AuthInfo.Hdr.dwLength
96 (UINT8 *)TempBuffer + ImageSize - sizeof(Image->MonotonicCount) - Image->AuthInfo.Hdr.dwLength,
106 ImageSize - Image->AuthInfo.Hdr.dwLength
143 @param[in] ImageSize Size of the authentication image in bytes.
155 @retval RETURN_UNSUPPORTED Image or ImageSize is invalid.
164 IN UINTN ImageSize,
64 FmpAuthenticatedHandlerPkcs7( IN EFI_FIRMWARE_IMAGE_AUTHENTICATION *Image, IN UINTN ImageSize, IN CONST UINT8 *PublicKeyData, IN UINTN PublicKeyDataLength ) argument
162 AuthenticateFmpImage( IN EFI_FIRMWARE_IMAGE_AUTHENTICATION *Image, IN UINTN ImageSize, IN CONST UINT8 *PublicKeyData, IN UINTN PublicKeyDataLength ) argument
[all...]
/device/linaro/bootloader/edk2/SecurityPkg/Library/FmpAuthenticationLibRsa2048Sha256/
H A DFmpAuthenticationLibRsa2048Sha256.c55 @param[in] ImageSize Size of the authentication image in bytes.
71 IN UINTN ImageSize,
85 DEBUG ((DEBUG_INFO, "FmpAuthenticatedHandlerRsa2048Sha256 - Image: 0x%08x - 0x%08x\n", (UINTN)Image, (UINTN)ImageSize));
198 ImageSize - sizeof(Image->MonotonicCount) - Image->AuthInfo.Hdr.dwLength
276 @param[in] ImageSize Size of the authentication image in bytes.
288 @retval RETURN_UNSUPPORTED Image or ImageSize is invalid.
297 IN UINTN ImageSize,
305 if ((Image == NULL) || (ImageSize == 0)) {
314 if (ImageSize < sizeof(EFI_FIRMWARE_IMAGE_AUTHENTICATION)) {
315 DEBUG((DEBUG_ERROR, "AuthenticateFmpImage - ImageSize to
69 FmpAuthenticatedHandlerRsa2048Sha256( IN EFI_FIRMWARE_IMAGE_AUTHENTICATION *Image, IN UINTN ImageSize, IN CONST UINT8 *PublicKeyData, IN UINTN PublicKeyDataLength ) argument
295 AuthenticateFmpImage( IN EFI_FIRMWARE_IMAGE_AUTHENTICATION *Image, IN UINTN ImageSize, IN CONST UINT8 *PublicKeyData, IN UINTN PublicKeyDataLength ) argument
[all...]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/EfiNetworkInterfaceIdentifier/
H A DEfiNetworkInterfaceIdentifier.h75 UINT32 ImageSize; member in struct:_EFI_NETWORK_INTERFACE_IDENTIFIER_PROTOCOL
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/LoadedImage/
H A DLoadedImage.h60 UINT64 ImageSize; member in struct:__anon4350
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/DxeHobPeCoffLib/
H A DDxeHobPeCoff.c30 Computes the PeCoffHeaderOffset, IsTeImage, ImageType, ImageAddress, ImageSize,
69 ImageSize, DestinationAddress, RelocationsStripped, SectionAlignment, SizeOfHeaders,
103 specified by the ImageAddress and ImageSize fields of ImageContext. The caller must allocate
104 the load buffer and fill in the ImageAddress and ImageSize fields prior to calling this function.
106 The ImageRead, Handle, PeCoffHeaderOffset, IsTeImage, Machine, ImageType, ImageAddress, ImageSize,
120 the ImageAddress and ImageSize fields of ImageContext.
189 and ImageSize so the image will execute correctly when the PE/COFF image is mapped
202 @param ImageSize The size, in bytes, of the PE/COFF image.
212 IN UINTN ImageSize,
219 ImageSize,
209 PeCoffLoaderRelocateImageForRuntime( IN PHYSICAL_ADDRESS ImageBase, IN PHYSICAL_ADDRESS VirtImageBase, IN UINTN ImageSize, IN VOID *RelocationData ) argument
[all...]
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/PrePiLib/
H A DPrePiLib.c27 IN UINT64 *ImageSize,
37 OUT UINT64 *ImageSize,
57 Buffer = AllocatePages (EFI_SIZE_TO_PAGES((UINT32)ImageContext.ImageSize));
77 *ImageSize = ImageContext.ImageSize;
84 InvalidateInstructionCacheRange ((VOID *)(UINTN)*ImageAddress, (UINTN)*ImageSize);
107 UINT64 ImageSize; local
120 Status = LoadPeCoffImage (PeCoffImage, &ImageAddress, &ImageSize, &EntryPoint);
121 // For NT32 Debug Status = SecWinNtPeiLoadFile (PeCoffImage, &ImageAddress, &ImageSize, &EntryPoint);
130 BuildModuleHob (&FvFileInfo.FileName, (EFI_PHYSICAL_ADDRESS)(UINTN)ImageAddress, EFI_SIZE_TO_PAGES ((UINT32) ImageSize) * EFI_PAGE_SIZ
34 LoadPeCoffImage( IN VOID *PeCoffImage, OUT EFI_PHYSICAL_ADDRESS *ImageAddress, OUT UINT64 *ImageSize, OUT EFI_PHYSICAL_ADDRESS *EntryPoint ) argument
[all...]
/device/linaro/bootloader/edk2/SecurityPkg/UserIdentification/UserIdentifyManagerDxe/
H A DLoadDeferredImage.c42 UINTN ImageSize; local
84 &ImageSize,
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Core/Dxe/ArchProtocol/Runtime/
H A DRuntime.h51 UINT64 ImageSize; member in struct:_EFI_RUNTIME_IMAGE_ENTRY
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Guid/Bmp/
H A DBmp.h48 UINT32 ImageSize; // Compressed image size in bytes member in struct:__anon4834
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Platform/Generic/MonoStatusCode/Library/Pei/MemoryStatusCode/
H A DMemoryStatusCode.c474 UINT64 ImageSize; local
490 &ImageSize,
/device/linaro/bootloader/edk2/MdePkg/Include/IndustryStandard/
H A DBmp.h39 UINT32 ImageSize; ///< Compressed image size in bytes member in struct:__anon7641
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/
H A DLoadedImage.h74 UINT64 ImageSize; ///< The size in bytes of the loaded image. member in struct:__anon9129
H A DNetworkInterfaceIdentifier.h69 UINT32 ImageSize; ///< The size of unrelocated network interface image. member in struct:_EFI_NETWORK_INTERFACE_IDENTIFIER_PROTOCOL
H A DRuntime.h54 UINT64 ImageSize; member in struct:_EFI_RUNTIME_IMAGE_ENTRY
/device/linaro/bootloader/edk2/Nt32Pkg/Library/Nt32PeiPeCoffGetEntryPointLib/
H A DPeCoffGetEntryPoint.c64 UINT64 ImageSize; local
81 &ImageSize,
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Tcg2Dxe/
H A DMeasureBootPeCoff.c94 @param[in] ImageSize Image size
105 IN UINTN ImageSize,
136 mTcg2DxeImageSize = ImageSize;
381 if (ImageSize > SumOfBytesHashed) {
400 if (ImageSize > CertSize + SumOfBytesHashed) {
401 HashSize = (UINTN) (ImageSize - CertSize - SumOfBytesHashed);
407 } else if (ImageSize < CertSize + SumOfBytesHashed) {
102 MeasurePeImageAndExtend( IN UINT32 PCRIndex, IN EFI_PHYSICAL_ADDRESS ImageAddress, IN UINTN ImageSize, OUT TPML_DIGEST_VALUES *DigestList ) argument
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/TrEEDxe/
H A DMeasureBootPeCoff.c94 @param[in] ImageSize Image size
105 IN UINTN ImageSize,
136 mTrEEDxeImageSize = ImageSize;
381 if (ImageSize > SumOfBytesHashed) {
400 if (ImageSize > CertSize + SumOfBytesHashed) {
401 HashSize = (UINTN) (ImageSize - CertSize - SumOfBytesHashed);
407 } else if (ImageSize < CertSize + SumOfBytesHashed) {
102 MeasurePeImageAndExtend( IN UINT32 PCRIndex, IN EFI_PHYSICAL_ADDRESS ImageAddress, IN UINTN ImageSize, OUT TPML_DIGEST_VALUES *DigestList ) argument
/device/linaro/bootloader/edk2/SignedCapsulePkg/Universal/SystemFirmwareUpdate/
H A DSystemFirmwareReportDxe.c35 @param[in] ImageSize The size of the EDKII system FMP capsule image in bytes.
47 IN UINTN ImageSize,
69 Status = CapsuleAuthenticateSystemFirmware(Image, ImageSize, FALSE, LastAttemptVersion, LastAttemptStatus, &AuthenticatedImage, &AuthenticatedImageSize);
135 @param[in] ImageSize Size of the new image in bytes.
157 IN UINTN ImageSize,
168 if (Image == NULL || ImageSize == 0 || AbortReason == NULL) {
182 Status = DispatchSystemFmpImages((VOID *)Image, ImageSize, &SystemFmpPrivate->LastAttempt.LastAttemptVersion, &SystemFmpPrivate->LastAttempt.LastAttemptStatus);
214 return SystemFmp->SetImage(SystemFmp, ImageIndex, Image, ImageSize, VendorCode, Progress, AbortReason);
45 DispatchSystemFmpImages( IN VOID *Image, IN UINTN ImageSize, OUT UINT32 *LastAttemptVersion, OUT UINT32 *LastAttemptStatus ) argument
153 FmpSetImage( IN EFI_FIRMWARE_MANAGEMENT_PROTOCOL *This, IN UINT8 ImageIndex, IN CONST VOID *Image, IN UINTN ImageSize, IN CONST VOID *VendorCode, IN EFI_FIRMWARE_MANAGEMENT_UPDATE_IMAGE_PROGRESS Progress, OUT CHAR16 **AbortReason ) argument

Completed in 265 milliseconds

123