summaryrefslogtreecommitdiff
path: root/include/asm-generic/pe.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2024-02-28 15:09:30 -0500
committerTom Rini <trini@konsulko.com>2024-02-28 15:09:30 -0500
commit463a3162dd661a53e2eb735fe63582874076f73f (patch)
treeb02753dfc487c17bd76228514e5850e5711c1392 /include/asm-generic/pe.h
parenteec4c0664771e8d95d4a162c8651154566afd320 (diff)
parent97da9aea78ab71e92778649bf9d1071f30e260f0 (diff)
Merge tag 'efi-next-2024-02-28' of https://source.denx.de/u-boot/custodians/u-boot-efi into next
Pull request efi-next-2024-02-28 * set IMAGE_DLLCHARACTERISTICS_NX_COMPAT in EFI binaries * provide SBI based runtime system reset * page align EFI binary section on ARMv7 * separate .data and .text sections of EFI binaries on ARMv7
Diffstat (limited to 'include/asm-generic/pe.h')
-rw-r--r--include/asm-generic/pe.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-generic/pe.h b/include/asm-generic/pe.h
index b9d674b6da4..cd5b6ad62bf 100644
--- a/include/asm-generic/pe.h
+++ b/include/asm-generic/pe.h
@@ -51,6 +51,9 @@
#define IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER 12
#define IMAGE_SUBSYSTEM_EFI_ROM 13
+/* DLL characteristics */
+#define IMAGE_DLLCHARACTERISTICS_NX_COMPAT 0x100
+
/* Section flags */
#define IMAGE_SCN_CNT_CODE 0x00000020
#define IMAGE_SCN_CNT_INITIALIZED_DATA 0x00000040