PrmModuleImageContext.h 670 B

12345678910111213141516171819202122232425262728
  1. /** @file
  2. Definitions used internal to the PrmPkg implementation for PRM module image context.
  3. Copyright (c) Microsoft Corporation
  4. SPDX-License-Identifier: BSD-2-Clause-Patent
  5. **/
  6. #ifndef PRM_MODULE_IMAGE_CONTEXT_H_
  7. #define PRM_MODULE_IMAGE_CONTEXT_H_
  8. #include <IndustryStandard/PeImage.h>
  9. #include <Library/PeCoffLib.h>
  10. #include <PrmExportDescriptor.h>
  11. #pragma pack(push, 1)
  12. typedef struct {
  13. PE_COFF_LOADER_IMAGE_CONTEXT PeCoffImageContext;
  14. EFI_IMAGE_EXPORT_DIRECTORY *ExportDirectory;
  15. PRM_MODULE_EXPORT_DESCRIPTOR_STRUCT *ExportDescriptor;
  16. } PRM_MODULE_IMAGE_CONTEXT;
  17. #pragma pack(pop)
  18. #endif