summaryrefslogtreecommitdiffstats
path: root/include/sysemu/arch_init.h
diff options
context:
space:
mode:
authorMichael Clark2018-03-02 13:32:59 +0100
committerMichael Clark2018-03-06 20:30:28 +0100
commit25fa194b7b11901561532e435beb83d046899f7a (patch)
tree361c143f38183b884bcac16e30d69791c3c40492 /include/sysemu/arch_init.h
parentSiFive Freedom U Series RISC-V Machine (diff)
downloadqemu-25fa194b7b11901561532e435beb83d046899f7a.tar.gz
qemu-25fa194b7b11901561532e435beb83d046899f7a.tar.xz
qemu-25fa194b7b11901561532e435beb83d046899f7a.zip
RISC-V Build Infrastructure
This adds RISC-V into the build system enabling the following targets: - riscv32-softmmu - riscv64-softmmu - riscv32-linux-user - riscv64-linux-user This adds defaults configs for RISC-V, enables the build for the RISC-V CPU core, hardware, and Linux User Emulation. The 'qemu-binfmt-conf.sh' script is updated to add the RISC-V ELF magic. Expected checkpatch errors for consistency reasons: ERROR: line over 90 characters FILE: scripts/qemu-binfmt-conf.sh Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Sagar Karandikar <sagark@eecs.berkeley.edu> Signed-off-by: Michael Clark <mjc@sifive.com>
Diffstat (limited to 'include/sysemu/arch_init.h')
-rw-r--r--include/sysemu/arch_init.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sysemu/arch_init.h b/include/sysemu/arch_init.h
index cecd494159..32abdfe6a1 100644
--- a/include/sysemu/arch_init.h
+++ b/include/sysemu/arch_init.h
@@ -24,6 +24,7 @@ enum {
QEMU_ARCH_TRICORE = (1 << 16),
QEMU_ARCH_NIOS2 = (1 << 17),
QEMU_ARCH_HPPA = (1 << 18),
+ QEMU_ARCH_RISCV = (1 << 19),
};
extern const uint32_t arch_type;