[arch][riscv] port to riscv64

Very little needed to port except to conditionalize some assembly in the
context switch and exception code. Mostly needed to move build system
stuff around and add a new project.
This commit is contained in:
Travis Geiselbrecht
2019-11-02 17:21:13 -07:00
parent ae5200595c
commit fdc08a8446
14 changed files with 173 additions and 142 deletions

View File

@@ -55,12 +55,10 @@ done
shift $((OPTIND-1))
if (( $DO_64BIT )); then
echo unsupported now
exit 1
QEMU="qemu-system-riscv64"
#CPU="cortex-a53"
CPU="any"
MACHINE="virt"
_PROJECT="qemu-virt-arm64-test"
_PROJECT="qemu-virt-riscv64-test"
elif (( $DO_EMBEDDED == 1 )); then
QEMU="qemu-system-riscv32"
MACHINE="sifive_e"