Home
last modified time | relevance | path

Searched refs:ImageType (Results 1 – 25 of 29) sorted by relevance

12

/device/linaro/bootloader/edk2/NetworkPkg/HttpBootDxe/
DHttpBootImpl.c223 OUT HTTP_BOOT_IMAGE_TYPE *ImageType in HttpBootLoadFile() argument
228 if (Private == NULL || ImageType == NULL || BufferSize == NULL ) { in HttpBootLoadFile()
275 &Private->ImageType in HttpBootLoadFile()
287 &Private->ImageType in HttpBootLoadFile()
297 *ImageType = Private->ImageType; in HttpBootLoadFile()
309 ImageType in HttpBootLoadFile()
444 HTTP_BOOT_IMAGE_TYPE ImageType; in HttpBootDxeLoadFile() local
488 ImageType = ImageTypeMax; in HttpBootDxeLoadFile()
489 Status = HttpBootLoadFile (Private, BufferSize, Buffer, &ImageType); in HttpBootDxeLoadFile()
491 …if (Status == EFI_BUFFER_TOO_SMALL && (ImageType == ImageTypeVirtualCd || ImageType == ImageTypeVi… in HttpBootDxeLoadFile()
[all …]
DHttpBootClient.h44 HTTP_BOOT_IMAGE_TYPE ImageType; member
127 OUT HTTP_BOOT_IMAGE_TYPE *ImageType
DHttpBootSupport.c1077 OUT HTTP_BOOT_IMAGE_TYPE *ImageType in HttpBootCheckImageType() argument
1085 if (Uri == NULL || UriParser == NULL || ImageType == NULL) { in HttpBootCheckImageType()
1100 *ImageType = ImageTypeEfi; in HttpBootCheckImageType()
1122 *ImageType = ImageTypeEfi; in HttpBootCheckImageType()
1124 *ImageType = ImageTypeVirtualCd; in HttpBootCheckImageType()
1126 *ImageType = ImageTypeVirtualDisk; in HttpBootCheckImageType()
1128 *ImageType = ImageTypeMax; in HttpBootCheckImageType()
1133 return (*ImageType < ImageTypeMax) ? EFI_SUCCESS : EFI_NOT_FOUND; in HttpBootCheckImageType()
1155 IN HTTP_BOOT_IMAGE_TYPE ImageType in HttpBootRegisterRamDisk() argument
1173 if (ImageType == ImageTypeVirtualCd) { in HttpBootRegisterRamDisk()
[all …]
DHttpBootClient.c587 OUT HTTP_BOOT_IMAGE_TYPE *ImageType in HttpBootGetFileFromCache() argument
596 if (Uri == NULL || BufferSize == 0 || Buffer == NULL || ImageType == NULL) { in HttpBootGetFileFromCache()
612 *ImageType = Cache->ImageType; in HttpBootGetFileFromCache()
741 OUT HTTP_BOOT_IMAGE_TYPE *ImageType in HttpBootGetBootFile() argument
765 if (BufferSize == NULL || ImageType == NULL) { in HttpBootGetBootFile()
783 Status = HttpBootGetFileFromCache (Private, Url, BufferSize, Buffer, ImageType); in HttpBootGetBootFile()
804 Cache->ImageType = ImageTypeMax; in HttpBootGetBootFile()
938 ImageType in HttpBootGetBootFile()
949 Cache->ImageType = *ImageType; in HttpBootGetBootFile()
DHttpBootSupport.h375 OUT HTTP_BOOT_IMAGE_TYPE *ImageType
397 IN HTTP_BOOT_IMAGE_TYPE ImageType
DHttpBootDxe.h193 HTTP_BOOT_IMAGE_TYPE ImageType; member
/device/linaro/bootloader/edk2/MdePkg/Include/IndustryStandard/
DWindowsUxCapsule.h25 UINT8 ImageType; member
DAcpi51.h1021 UINT8 ImageType; member
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeTpm2MeasureBootLib/
DDxeTpm2MeasureBootLib.c300 IN UINT16 ImageType, in Tcg2MeasurePeImage() argument
328 switch (ImageType) { in Tcg2MeasurePeImage()
345 ImageType in Tcg2MeasurePeImage()
628 (ApplicationRequired && ImageContext.ImageType == EFI_IMAGE_SUBSYSTEM_EFI_APPLICATION)) { in DxeTpm2MeasureBootHandler()
653 ImageContext.ImageType, in DxeTpm2MeasureBootHandler()
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeTpmMeasureBootLib/
DDxeTpmMeasureBootLib.c304 IN UINT16 ImageType, in TcgMeasurePeImage() argument
350 switch (ImageType) { in TcgMeasurePeImage()
367 ImageType in TcgMeasurePeImage()
940 (ApplicationRequired && ImageContext.ImageType == EFI_IMAGE_SUBSYSTEM_EFI_APPLICATION)) { in DxeTpmMeasureBootHandler()
965 ImageContext.ImageType, in DxeTpmMeasureBootHandler()
/device/linaro/bootloader/edk2/DuetPkg/EfiLdr/
DPeLoader.c51 IN UINTN ImageType
579 IN UINTN ImageType in EfiLdrPeCoffSetImageType() argument
585 switch (ImageType) { in EfiLdrPeCoffSetImageType()
605 Image->Type = ImageType; in EfiLdrPeCoffSetImageType()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Guid/PeiPeCoffLoader/
DPeiPeCoffLoader.h72 UINT16 ImageType; member
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/
DPeCoffLib.h69 UINT16 ImageType; member
DBasePeCoff.c218 ImageContext->ImageType = PeHdr->Pe32.OptionalHeader.Subsystem; in PeCoffLoaderCheckImageType()
220 ImageContext->ImageType = (UINT16) (TeHdr->Subsystem); in PeCoffLoaderCheckImageType()
223 if (ImageContext->ImageType != EFI_IMAGE_SUBSYSTEM_EFI_APPLICATION && \ in PeCoffLoaderCheckImageType()
224 ImageContext->ImageType != EFI_IMAGE_SUBSYSTEM_EFI_BOOT_SERVICE_DRIVER && \ in PeCoffLoaderCheckImageType()
225 ImageContext->ImageType != EFI_IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER && \ in PeCoffLoaderCheckImageType()
226 ImageContext->ImageType != EFI_IMAGE_SUBSYSTEM_SAL_RUNTIME_DRIVER) { in PeCoffLoaderCheckImageType()
927 if (CheckContext.ImageType == EFI_IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER) { in PeCoffLoaderLoadImage()
/device/linaro/bootloader/edk2/MdePkg/Include/Library/
DPeCoffLib.h178 UINT16 ImageType; member
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/
DEdkIIGluePeCoffLib.h89 UINT16 ImageType; member
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Protocol/TcgService/
DTcgService.h152 IN UINT16 ImageType,
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Image/
DImage.c490 switch (Image->ImageContext.ImageType) { in CoreLoadPeImage()
622 if (Image->ImageContext.ImageType == EFI_IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER) { in CoreLoadPeImage()
694 Image->Type = Image->ImageContext.ImageType; in CoreLoadPeImage()
700 if (Image->ImageContext.ImageType == EFI_IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER) { in CoreLoadPeImage()
1656 …RegisterMemoryProfileImage (Image, (Image->ImageContext.ImageType == EFI_IMAGE_SUBSYSTEM_EFI_APPLI… in CoreStartImage()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePeCoffLib/
DBasePeCoff.c124 ImageContext->ImageType = (UINT16)(Hdr.Te->Subsystem); in GluePeCoffLoaderGetPeHeader()
139 ImageContext->ImageType = Hdr.Pe32->OptionalHeader.Subsystem; in GluePeCoffLoaderGetPeHeader()
148 ImageContext->ImageType = Hdr.Pe32Plus->OptionalHeader.Subsystem; in GluePeCoffLoaderGetPeHeader()
824 if (CheckContext.ImageType == EFI_IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER) { in GluePeCoffLoaderLoadImage()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/
DPeCoffLoader.c232 ImageContext->ImageType = (UINT16)(Hdr.Te->Subsystem); in PeCoffLoaderGetPeHeader()
262 ImageContext->ImageType = Hdr.Pe32->OptionalHeader.Subsystem; in PeCoffLoaderGetPeHeader()
311 switch (ImageContext->ImageType) { in PeCoffLoaderCheckImageType()
1070 if (CheckContext.ImageType == EFI_IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER) { in PeCoffLoaderLoadImage()
/device/linaro/bootloader/edk2/MdePkg/Library/BasePeCoffLib/
DBasePeCoff.c168 ImageContext->ImageType = (UINT16)(Hdr.Te->Subsystem); in PeCoffLoaderGetPeHeader()
337 ImageContext->ImageType = Hdr.Pe32->OptionalHeader.Subsystem; in PeCoffLoaderGetPeHeader()
451 ImageContext->ImageType = Hdr.Pe32Plus->OptionalHeader.Subsystem; in PeCoffLoaderGetPeHeader()
1286 if (CheckContext.ImageType == EFI_IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER) { in PeCoffLoaderLoadImage()
/device/linaro/bootloader/edk2/BaseTools/Source/Python/AutoGen/
DGenC.py1688 ImageType, = struct.unpack('4s', Buffer[6:10])
1689 if ImageType != 'JFIF':
1788 ImageType, = struct.unpack('2s', Buffer[0:2])
1789 if ImageType!= 'BM': # BMP file type is 'BM'
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Mem/
DMemoryProfileRecord.c749 DriverEntry->ImageContext.ImageType, in RegisterMemoryProfileImage()
1653 DriverEntry.ImageContext.ImageType = InternalPeCoffGetSubsystem ((VOID *) (UINTN) ImageBase); in ProfileProtocolRegisterImage()
/device/linaro/bootloader/edk2/MdeModulePkg/Application/CapsuleApp/
DCapsuleApp.c245 DisplayCapsule->ImagePayload.ImageType = 0; // BMP in CreateBmpFmp()
DCapsuleDump.c85 Print(L" ImageType - 0x%x\n", DisplayCapsule->ImagePayload.ImageType); in DumpUxCapsule()

12