feat(virtio): riscv: 添加virtio-blk driver,并在riscv下能够正确挂载FAT32 (#761)

This commit is contained in:
LoGin
2024-04-23 17:19:54 +08:00
committed by GitHub
parent 0c1ef30087
commit 731bc2b32d
27 changed files with 998 additions and 124 deletions

View File

@ -676,6 +676,7 @@ impl MMIOSpaceGuard {
}
let flags = PageFlags::mmio_flags();
let mut kernel_mapper = KernelMapper::lock();
let r = kernel_mapper.map_phys_with_size(self.vaddr, paddr, length, flags, true);
return r;