can run virtio gpu/block

This commit is contained in:
Yu Chen 2022-06-18 17:50:50 +08:00
parent 07029a2e5f
commit 093db48d04
5 changed files with 17 additions and 4 deletions

View file

@ -12,7 +12,7 @@ use lazy_static::*;
use virtio_drivers::{BlkResp, RespStatus, VirtIOBlk, VirtIOHeader};
#[allow(unused)]
const VIRTIO0: usize = 0x10001000;
const VIRTIO0: usize = 0x10008000;
pub struct VirtIOBlock {
virtio_blk: UPIntrFreeCell<VirtIOBlk<'static>>,