1
0
mirror of https://github.com/sgmarz/osblog.git synced 2024-11-24 02:16:19 +04:00

Support new block list

This commit is contained in:
Stephen Marz 2020-03-12 20:44:53 -04:00
parent 72563c3161
commit 016520a354

View File

@ -151,7 +151,7 @@ extern "C" fn kinit() {
block::init();
virtio::probe();
let buffer = kmem::kmalloc(512);
block::read(0, buffer, 512, 0);
block::read(8, buffer, 512, 0);
let mut i = 0;
loop {
if i > 100_000_000 {