can run virtio gpu/block
This commit is contained in:
parent
07029a2e5f
commit
093db48d04
5 changed files with 17 additions and 4 deletions
|
@ -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>>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue