include: pe.h: add some missing definitions
authorMark Rutland <mark.rutland@arm.com>
Thu, 23 Mar 2017 19:00:45 +0000 (19:00 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 4 Apr 2017 16:49:49 +0000 (17:49 +0100)
Add the missing IMAGE_FILE_MACHINE_ARM64 and IMAGE_DEBUG_TYPE_CODEVIEW
definitions.

We'll need them for the arm64 EFI stub...

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
[ardb: add IMAGE_DEBUG_TYPE_CODEVIEW as well]
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
include/linux/pe.h

index a8a594117df3cca71725efcdd05a3ccf74921e38..143ce75be5f01549ac60f6a8e91e8e614d5f3fe1 100644 (file)
@@ -34,6 +34,7 @@
 #define        IMAGE_FILE_MACHINE_AMD64        0x8664
 #define        IMAGE_FILE_MACHINE_ARM          0x01c0
 #define        IMAGE_FILE_MACHINE_ARMV7        0x01c4
+#define        IMAGE_FILE_MACHINE_ARM64        0xaa64
 #define        IMAGE_FILE_MACHINE_EBC          0x0ebc
 #define        IMAGE_FILE_MACHINE_I386         0x014c
 #define        IMAGE_FILE_MACHINE_IA64         0x0200
 #define IMAGE_SCN_MEM_READ     0x40000000 /* readable */
 #define IMAGE_SCN_MEM_WRITE    0x80000000 /* writeable */
 
+#define IMAGE_DEBUG_TYPE_CODEVIEW      2
+
 #ifndef __ASSEMBLY__
 
 struct mz_hdr {