mirror of
https://github.com/sgmarz/osblog.git
synced 2024-11-23 18:06:20 +04:00
Support new block list
This commit is contained in:
parent
72563c3161
commit
016520a354
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user