xen: add files needed for minimal riscv build

Add arch-specific makefiles and configs needed to build for
riscv. Also add a minimal head.S that is a simple infinite loop.
head.o can be built with

$ make XEN_TARGET_ARCH=riscv64 SUBSYSTEMS=xen -C xen tiny64_defconfig
$ make XEN_TARGET_ARCH=riscv64 SUBSYSTEMS=xen -C xen TARGET=riscv64/head.o

No other TARGET is supported at the moment.

Signed-off-by: Connor Davis <connojdavis@gmail.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Acked-by: Bobby Eshleman <bobbyeshleman@gmail.com>
This commit is contained in:
Connor Davis authored and Jan Beulich committed 2021-06-09 12:45:38 +02:00
1 parent 5151ce8ba1
commit f5035d480f
12 files changed
+150 -2

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
CONFIG_RISCV := y
CONFIG_RISCV_64 := y
CONFIG_RISCV_$(XEN_OS) := y
CONFIG_XEN_INSTALL_SUFFIX :=
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.