summaryrefslogtreecommitdiff
path: root/include/asm-generic/pe.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2018-02-10 17:04:13 -0500
committerTom Rini <trini@konsulko.com>2018-02-10 17:04:13 -0500
commitf59ab6c659fc8c3abc3fdd85ce9279f7930256a7 (patch)
treeb618c5d4b0573783591e61f2e16234c6846f016d /include/asm-generic/pe.h
parent1811a928c6c7604d6d05a84b4d552a7c31b4994e (diff)
parentdf9cf561b04dd3fc5a94f7a2c2500948ae8ba56b (diff)
Merge tag 'signed-efi-v2018.03' of git://github.com/agraf/u-boot
Patch queue for efi in 2018.03 - 2018-02-10 This time we have a few important bug fixes. Most noticable are: - Fix OpenBSD loader with CONFIG_BLK=n - Fix builds on various circumstances - Add missing stubs so callers don't call NULL - Bump UEFI revision to 2.7
Diffstat (limited to 'include/asm-generic/pe.h')
-rw-r--r--include/asm-generic/pe.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/asm-generic/pe.h b/include/asm-generic/pe.h
new file mode 100644
index 00000000000..d1683f238af
--- /dev/null
+++ b/include/asm-generic/pe.h
@@ -0,0 +1,21 @@
+/*
+ * Portable Executable and Common Object Constants
+ *
+ * Copyright (c) 2018 Heinrich Schuchardt
+ *
+ * based on the "Microsoft Portable Executable and Common Object File Format
+ * Specification", revision 11, 2017-01-23
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#ifndef _ASM_PE_H
+#define _ASM_PE_H
+
+/* Subsystem type */
+#define IMAGE_SUBSYSTEM_EFI_APPLICATION 10
+#define IMAGE_SUBSYSTEM_EFI_BOOT_SERVICE_DRIVER 11
+#define IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER 12
+#define IMAGE_SUBSYSTEM_EFI_ROM 13
+
+#endif /* _ASM_PE_H */