History

RISC-V: Add EM_RISCV to kexec UAPI header

Add RISC-V to the list of supported kexec architectures, we need to add the definition early-on so that later patches can use it. EM_RISCV is 243 as per ELF psABI specification here: https://github.com/riscv/riscv-elf-psabi-doc/blob/master/riscv-elf.md

Nick Kossifidis committed 5 years ago

Commit d83e6821 parent 772d7891 file · +1 −0Browse files

Unified · Split

include/uapi/linux/kexec.h+1−0
@@ -42,6 +42,7 @@ · 41 unmodified lines
4242 #define KEXEC_ARCH_MIPS_LE (10 << 16)
4343 #define KEXEC_ARCH_MIPS ( 8 << 16)
4444 #define KEXEC_ARCH_AARCH64 (183 << 16)
45+#define KEXEC_ARCH_RISCV (243 << 16)
4546
4647 /* The artificial cap on the number of segments passed to kexec_load. */
4748 #define KEXEC_SEGMENT_MAX 16

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t