On 03/02/2018 07:51 AM, Michael Clark wrote:
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.hender...@linaro.org>
Signed-off-by: Sagar Karandikar <sag...@eecs.berkeley.edu>
Signed-off-by: Michael Clark <m...@sifive.com>
---
  arch_init.c                            |  2 ++
  configure                              | 13 +++++++++++++
  cpus.c                                 |  6 ++++++
  default-configs/riscv32-linux-user.mak |  1 +
  default-configs/riscv32-softmmu.mak    |  4 ++++
  default-configs/riscv64-linux-user.mak |  1 +
  default-configs/riscv64-softmmu.mak    |  4 ++++
  hw/riscv/Makefile.objs                 | 11 +++++++++++
  include/sysemu/arch_init.h             |  1 +
  qapi-schema.json                       | 17 ++++++++++++++++-

Will need rebasing to modify qapi/misc.json if my pending PULL request issues get resolved first:

https://lists.gnu.org/archive/html/qemu-devel/2018-03/msg00469.html

--
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org

Reply via email to