2020-06-12 23:24:46 +02:00
|
|
|
/** @file
|
|
|
|
|
|
|
|
Definitions used internal to the PrmPkg implementation for PRM module image context.
|
|
|
|
|
|
|
|
Copyright (c) Microsoft Corporation
|
|
|
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
|
|
|
|
|
|
**/
|
|
|
|
|
|
|
|
#ifndef PRM_MODULE_IMAGE_CONTEXT_H_
|
|
|
|
#define PRM_MODULE_IMAGE_CONTEXT_H_
|
|
|
|
|
|
|
|
#include <IndustryStandard/PeImage.h>
|
|
|
|
#include <Library/PeCoffLib.h>
|
|
|
|
|
|
|
|
#include <PrmExportDescriptor.h>
|
|
|
|
|
|
|
|
#pragma pack(push, 1)
|
|
|
|
|
|
|
|
typedef struct {
|
2022-03-15 19:46:34 +01:00
|
|
|
PE_COFF_LOADER_IMAGE_CONTEXT PeCoffImageContext;
|
|
|
|
EFI_IMAGE_EXPORT_DIRECTORY *ExportDirectory;
|
|
|
|
PRM_MODULE_EXPORT_DESCRIPTOR_STRUCT *ExportDescriptor;
|
2020-06-12 23:24:46 +02:00
|
|
|
} PRM_MODULE_IMAGE_CONTEXT;
|
|
|
|
|
|
|
|
#pragma pack(pop)
|
|
|
|
|
|
|
|
#endif
|