projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9123e3a
)
include: pe.h: Add RISC-V related PE definition
author
Atish Patra
<atish.patra@wdc.com>
Fri, 28 Aug 2020 17:20:31 +0000
(10:20 -0700)
committer
Ard Biesheuvel
<ardb@kernel.org>
Fri, 11 Sep 2020 06:30:01 +0000
(09:30 +0300)
Define RISC-V related machine types.
Signed-off-by: Atish Patra <atish.patra@wdc.com>
Reviewed-by: Palmer Dabbelt <palmerdabbelt@google.com>
Link:
https://lore.kernel.org/r/20200415195422.19866-3-atish.patra@wdc.com
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
include/linux/pe.h
patch
|
blob
|
history
diff --git
a/include/linux/pe.h
b/include/linux/pe.h
index
8ad71d7
..
daf09ff
100644
(file)
--- a/
include/linux/pe.h
+++ b/
include/linux/pe.h
@@
-55,6
+55,9
@@
#define IMAGE_FILE_MACHINE_POWERPC 0x01f0
#define IMAGE_FILE_MACHINE_POWERPCFP 0x01f1
#define IMAGE_FILE_MACHINE_R4000 0x0166
+#define IMAGE_FILE_MACHINE_RISCV32 0x5032
+#define IMAGE_FILE_MACHINE_RISCV64 0x5064
+#define IMAGE_FILE_MACHINE_RISCV128 0x5128
#define IMAGE_FILE_MACHINE_SH3 0x01a2
#define IMAGE_FILE_MACHINE_SH3DSP 0x01a3
#define IMAGE_FILE_MACHINE_SH3E 0x01a4