Skip to content

Commit 6d0fd53

Browse files
atishp04ardbiesheuvel
authored andcommitted
include: pe.h: Add RISC-V related PE definition
Define RISC-V related machine types. Signed-off-by: Atish Patra <[email protected]> Reviewed-by: Palmer Dabbelt <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ard Biesheuvel <[email protected]>
1 parent 9123e3a commit 6d0fd53

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

include/linux/pe.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@
5555
#define IMAGE_FILE_MACHINE_POWERPC 0x01f0
5656
#define IMAGE_FILE_MACHINE_POWERPCFP 0x01f1
5757
#define IMAGE_FILE_MACHINE_R4000 0x0166
58+
#define IMAGE_FILE_MACHINE_RISCV32 0x5032
59+
#define IMAGE_FILE_MACHINE_RISCV64 0x5064
60+
#define IMAGE_FILE_MACHINE_RISCV128 0x5128
5861
#define IMAGE_FILE_MACHINE_SH3 0x01a2
5962
#define IMAGE_FILE_MACHINE_SH3DSP 0x01a3
6063
#define IMAGE_FILE_MACHINE_SH3E 0x01a4

0 commit comments

Comments
 (0)