pe.h 531 B

1234567891011121314151617181920
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * Portable Executable and Common Object Constants
  4. *
  5. * Copyright (c) 2018 Heinrich Schuchardt
  6. *
  7. * based on the "Microsoft Portable Executable and Common Object File Format
  8. * Specification", revision 11, 2017-01-23
  9. */
  10. #ifndef _ASM_PE_H
  11. #define _ASM_PE_H
  12. /* Subsystem type */
  13. #define IMAGE_SUBSYSTEM_EFI_APPLICATION 10
  14. #define IMAGE_SUBSYSTEM_EFI_BOOT_SERVICE_DRIVER 11
  15. #define IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER 12
  16. #define IMAGE_SUBSYSTEM_EFI_ROM 13
  17. #endif /* _ASM_PE_H */