[arch][riscv] Initial port to a riscv32 sifive target

Currently targets qemu's sifive_e machine, which is a split flash/ram
machine, much like the Sifive HiFive1. Untested as of yet on a real
HiFive1.

Basic support including interrupts and architectural timers in place.
This commit is contained in:
Travis Geiselbrecht
2018-10-14 17:12:01 -07:00
parent fdb41e1d8b
commit 8cf28bbdcf
29 changed files with 1467 additions and 5 deletions

View File

@@ -0,0 +1,11 @@
LOCAL_DIR := $(GET_LOCAL_DIR)
ASM_STRING_OPS := #bcopy bzero memcpy memmove memset
MODULE_SRCS += \
#$(LOCAL_DIR)/memcpy.S \
#$(LOCAL_DIR)/memset.S
# filter out the C implementation
C_STRING_OPS := $(filter-out $(ASM_STRING_OPS),$(C_STRING_OPS))