Initial import of OpenBSD/riscv64
authordrahn <drahn@openbsd.org>
Fri, 23 Apr 2021 02:42:16 +0000 (02:42 +0000)
committerdrahn <drahn@openbsd.org>
Fri, 23 Apr 2021 02:42:16 +0000 (02:42 +0000)
commitbaed8f062de7c0f96b82e81cea0353f0c396e327
treec302643e9ef2855862835a132495e9f4b5538745
parent9ef03c50eb8bd00d087c1bc36df9e8312ac8874c
Initial import of OpenBSD/riscv64

This work is based on the effort:
https://www.openbsd.org/papers/Porting_OpenBSD_to_RISCV_FinalReport.pdf
"Porting OpenBSD to RISC-V ISA"
by
Brian Bamsch <bbamsch@google.com>
Wenyan He <wenyan.he@sjsu.edu>
Mars Li <mengshi.li.mars@gmail.com>
Shivam Waghela <shivamwaghela@gmail.com>

With additional work by Dale Rahn <drahn@openbsd.org>
99 files changed:
sys/arch/riscv64/Makefile [new file with mode: 0644]
sys/arch/riscv64/compile/GENERIC/Makefile [new file with mode: 0644]
sys/arch/riscv64/compile/Makefile [new file with mode: 0644]
sys/arch/riscv64/compile/Makefile.inc [new file with mode: 0644]
sys/arch/riscv64/compile/RAMDISK/Makefile [new file with mode: 0644]
sys/arch/riscv64/conf/GENERIC [new file with mode: 0644]
sys/arch/riscv64/conf/Makefile.riscv64 [new file with mode: 0644]
sys/arch/riscv64/conf/RAMDISK [new file with mode: 0644]
sys/arch/riscv64/conf/files.riscv64 [new file with mode: 0644]
sys/arch/riscv64/conf/kern.ldscript [new file with mode: 0644]
sys/arch/riscv64/dev/mainbus.c [new file with mode: 0644]
sys/arch/riscv64/dev/mainbus.h [new file with mode: 0644]
sys/arch/riscv64/dev/plic.c [new file with mode: 0644]
sys/arch/riscv64/dev/plic.h [new file with mode: 0644]
sys/arch/riscv64/dev/riscv_cpu_intc.c [new file with mode: 0644]
sys/arch/riscv64/dev/riscv_cpu_intc.h [new file with mode: 0644]
sys/arch/riscv64/dev/simplebus.c [new file with mode: 0644]
sys/arch/riscv64/dev/simplebusvar.h [new file with mode: 0644]
sys/arch/riscv64/dev/timer.c [new file with mode: 0644]
sys/arch/riscv64/dev/timer.h [new file with mode: 0644]
sys/arch/riscv64/include/_float.h [new file with mode: 0644]
sys/arch/riscv64/include/_types.h [new file with mode: 0644]
sys/arch/riscv64/include/asm.h [new file with mode: 0644]
sys/arch/riscv64/include/atomic.h [new file with mode: 0644]
sys/arch/riscv64/include/bootconfig.h [new file with mode: 0644]
sys/arch/riscv64/include/bus.h [new file with mode: 0644]
sys/arch/riscv64/include/cdefs.h [new file with mode: 0644]
sys/arch/riscv64/include/conf.h [new file with mode: 0644]
sys/arch/riscv64/include/cpu.h [new file with mode: 0644]
sys/arch/riscv64/include/cpufunc.h [new file with mode: 0644]
sys/arch/riscv64/include/db_machdep.h [new file with mode: 0644]
sys/arch/riscv64/include/disklabel.h [new file with mode: 0644]
sys/arch/riscv64/include/elf.h [new file with mode: 0644]
sys/arch/riscv64/include/endian.h [new file with mode: 0644]
sys/arch/riscv64/include/exec.h [new file with mode: 0644]
sys/arch/riscv64/include/fdt.h [new file with mode: 0644]
sys/arch/riscv64/include/fenv.h [new file with mode: 0644]
sys/arch/riscv64/include/frame.h [new file with mode: 0644]
sys/arch/riscv64/include/ieee.h [new file with mode: 0644]
sys/arch/riscv64/include/ieeefp.h [new file with mode: 0644]
sys/arch/riscv64/include/intr.h [new file with mode: 0644]
sys/arch/riscv64/include/kcore.h [new file with mode: 0644]
sys/arch/riscv64/include/limits.h [new file with mode: 0644]
sys/arch/riscv64/include/loadfile_machdep.h [new file with mode: 0644]
sys/arch/riscv64/include/mutex.h [new file with mode: 0644]
sys/arch/riscv64/include/param.h [new file with mode: 0644]
sys/arch/riscv64/include/pcb.h [new file with mode: 0644]
sys/arch/riscv64/include/pmap.h [new file with mode: 0644]
sys/arch/riscv64/include/proc.h [new file with mode: 0644]
sys/arch/riscv64/include/profile.h [new file with mode: 0644]
sys/arch/riscv64/include/pte.h [new file with mode: 0644]
sys/arch/riscv64/include/ptrace.h [new file with mode: 0644]
sys/arch/riscv64/include/reg.h [new file with mode: 0644]
sys/arch/riscv64/include/reloc.h [new file with mode: 0644]
sys/arch/riscv64/include/riscv64var.h [new file with mode: 0644]
sys/arch/riscv64/include/riscvreg.h [new file with mode: 0644]
sys/arch/riscv64/include/sbi.h [new file with mode: 0644]
sys/arch/riscv64/include/setjmp.h [new file with mode: 0644]
sys/arch/riscv64/include/signal.h [new file with mode: 0644]
sys/arch/riscv64/include/softintr.h [new file with mode: 0644]
sys/arch/riscv64/include/spinlock.h [new file with mode: 0644]
sys/arch/riscv64/include/syscall.h [new file with mode: 0644]
sys/arch/riscv64/include/tcb.h [new file with mode: 0644]
sys/arch/riscv64/include/timetc.h [new file with mode: 0644]
sys/arch/riscv64/include/trap.h [new file with mode: 0644]
sys/arch/riscv64/include/vmparam.h [new file with mode: 0644]
sys/arch/riscv64/riscv64/ast.c [new file with mode: 0644]
sys/arch/riscv64/riscv64/autoconf.c [new file with mode: 0644]
sys/arch/riscv64/riscv64/bus_dma.c [new file with mode: 0644]
sys/arch/riscv64/riscv64/bus_space.c [new file with mode: 0644]
sys/arch/riscv64/riscv64/conf.c [new file with mode: 0644]
sys/arch/riscv64/riscv64/copy.S [new file with mode: 0644]
sys/arch/riscv64/riscv64/copyinout.S [new file with mode: 0644]
sys/arch/riscv64/riscv64/copystr.S [new file with mode: 0644]
sys/arch/riscv64/riscv64/cpu.c [new file with mode: 0644]
sys/arch/riscv64/riscv64/cpufunc_asm.S [new file with mode: 0644]
sys/arch/riscv64/riscv64/cpuswitch.S [new file with mode: 0644]
sys/arch/riscv64/riscv64/db_disasm.c [new file with mode: 0644]
sys/arch/riscv64/riscv64/db_interface.c [new file with mode: 0644]
sys/arch/riscv64/riscv64/db_trace.c [new file with mode: 0644]
sys/arch/riscv64/riscv64/disksubr.c [new file with mode: 0644]
sys/arch/riscv64/riscv64/fpu.c [new file with mode: 0644]
sys/arch/riscv64/riscv64/genassym.cf [new file with mode: 0644]
sys/arch/riscv64/riscv64/intr.c [new file with mode: 0644]
sys/arch/riscv64/riscv64/locore.S [new file with mode: 0644]
sys/arch/riscv64/riscv64/locore0.S [new file with mode: 0644]
sys/arch/riscv64/riscv64/machdep.c [new file with mode: 0644]
sys/arch/riscv64/riscv64/mem.c [new file with mode: 0644]
sys/arch/riscv64/riscv64/pagezero.S [new file with mode: 0644]
sys/arch/riscv64/riscv64/pmap.c [new file with mode: 0644]
sys/arch/riscv64/riscv64/process_machdep.c [new file with mode: 0644]
sys/arch/riscv64/riscv64/sbi.c [new file with mode: 0644]
sys/arch/riscv64/riscv64/sig_machdep.c [new file with mode: 0644]
sys/arch/riscv64/riscv64/softintr.c [new file with mode: 0644]
sys/arch/riscv64/riscv64/support.S [new file with mode: 0644]
sys/arch/riscv64/riscv64/syscall.c [new file with mode: 0644]
sys/arch/riscv64/riscv64/trap.S [new file with mode: 0644]
sys/arch/riscv64/riscv64/trap_machdep.c [new file with mode: 0644]
sys/arch/riscv64/riscv64/vm_machdep.c [new file with mode: 0644]