os: Allow VirtIO drivers to be built for RISC-V

Just add riscv spec files. The riscv versions should use MMIO transport
as ARM versions do. They also should work fine for riscv_qemu machine
from genode-riscv repository.
This commit is contained in:
Piotr Tworek 2022-06-15 23:18:31 +02:00 committed by Christian Helmuth
parent e7fb38834a
commit 9d417ee2f5
3 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,3 @@
REQUIRES = riscv
include $(REP_DIR)/src/drivers/framebuffer/virtio/target_mmio.inc

View File

@ -0,0 +1,3 @@
REQUIRES = riscv
include $(REP_DIR)/src/drivers/input/virtio/target_mmio.inc

View File

@ -0,0 +1,3 @@
REQUIRES = riscv
include $(REP_DIR)/src/drivers/nic/virtio/target_mmio.inc