TianoCore EDK2 master
Loading...
Searching...
No Matches
PrmPeCoffLib.h
Go to the documentation of this file.
1
11#ifndef PRM_PECOFF_LIB_H_
12#define PRM_PECOFF_LIB_H_
13
14#include <Base.h>
15#include <PrmExportDescriptor.h>
17#include <Library/PeCoffLib.h>
18
37 IN EFI_IMAGE_EXPORT_DIRECTORY *ImageExportDirectory,
38 IN PE_COFF_LOADER_IMAGE_CONTEXT *PeCoffLoaderImageContext,
40 );
41
60 IN VOID *Image,
61 IN PE_COFF_LOADER_IMAGE_CONTEXT *PeCoffLoaderImageContext,
62 OUT EFI_IMAGE_EXPORT_DIRECTORY **ImageExportDirectory
63 );
64
83 IN VOID *Image,
84 IN PE_COFF_LOADER_IMAGE_CONTEXT *PeCoffLoaderImageContext,
85 OUT UINT16 *ImageMajorVersion,
86 OUT UINT16 *ImageMinorVersion
87 );
88
105 IN CONST CHAR8 *ExportName,
106 IN EFI_PHYSICAL_ADDRESS ImageBaseAddress,
107 IN EFI_IMAGE_EXPORT_DIRECTORY *ImageExportDirectory,
108 OUT EFI_PHYSICAL_ADDRESS *ExportPhysicalAddress
109 );
110
111#endif
#define CONST
Definition: Base.h:259
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
EFI_STATUS GetExportDirectoryInPeCoffImage(IN VOID *Image, IN PE_COFF_LOADER_IMAGE_CONTEXT *PeCoffLoaderImageContext, OUT EFI_IMAGE_EXPORT_DIRECTORY **ImageExportDirectory)
EFI_STATUS GetPrmModuleExportDescriptorTable(IN EFI_IMAGE_EXPORT_DIRECTORY *ImageExportDirectory, IN PE_COFF_LOADER_IMAGE_CONTEXT *PeCoffLoaderImageContext, OUT PRM_MODULE_EXPORT_DESCRIPTOR_STRUCT **ExportDescriptor)
EFI_STATUS GetImageVersionInPeCoffImage(IN VOID *Image, IN PE_COFF_LOADER_IMAGE_CONTEXT *PeCoffLoaderImageContext, OUT UINT16 *ImageMajorVersion, OUT UINT16 *ImageMinorVersion)
EFI_STATUS GetExportEntryAddress(IN CONST CHAR8 *ExportName, IN EFI_PHYSICAL_ADDRESS ImageBaseAddress, IN EFI_IMAGE_EXPORT_DIRECTORY *ImageExportDirectory, OUT EFI_PHYSICAL_ADDRESS *ExportPhysicalAddress)
UINT64 EFI_PHYSICAL_ADDRESS
Definition: UefiBaseType.h:50
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29