o Add a description for virtio block device implemented

in PISM (Bluespec C-interface device)
o Add a kernel config

Sponsored by:	HEIF5
This commit is contained in:
Ruslan Bukin 2015-07-03 14:46:57 +00:00
parent 4934834d6b
commit 4ebd95ae06
2 changed files with 32 additions and 0 deletions

View File

@ -128,6 +128,18 @@
reg = <0x7f002000 0x40>;
};
virtio_mmio_platform0: virtio_mmio_platform@0 {
compatible = "beri,virtio_mmio_platform";
interrupts = <1>;
interrupt-parent = <&beripic0>;
};
virtio_block@7f020000 {
compatible = "virtio,mmio";
reg = <0x7f020000 0x1000>;
platform = <&virtio_mmio_platform0>;
};
sdcard@7f008000 {
compatible = "altera,sdcard_11_2011";
reg = <0x7f008000 0x400>;

View File

@ -0,0 +1,20 @@
#
# BERI_SIM_VIRTIO -- Kernel for the SRI/Cambridge "BERI" (Bluespec Extensible
# RISC Implementation) FPGA soft core, as configured for simulation.
#
# $FreeBSD$
#
include "BERI_SIM_BASE"
ident BERI_SIM_VIRTIO
device virtio
device virtio_blk
device virtio_mmio
device altera_pio
#
# This kernel expects to find its root filesystem on the SD Card.
#
options ROOTDEVNAME=\"ufs:/dev/vtbd0\"