1
0
mirror of https://github.com/sgmarz/osblog.git synced 2024-11-23 18:06:20 +04:00

Added virtio probing to kinit

This commit is contained in:
Stephen Marz 2020-03-10 17:17:12 -04:00
parent a29698221d
commit 39cb72ad9f

View File

@ -140,6 +140,8 @@ extern "C" fn kinit() {
plic::enable(10);
plic::set_priority(10, 1);
println!("UART interrupts have been enabled and are awaiting your command.");
println!("Loading VirtIO");
virtio::probe();
println!("Getting ready for first process.");
println!("Issuing the first context-switch timer.");
unsafe {
@ -190,3 +192,4 @@ pub mod sched;
pub mod syscall;
pub mod trap;
pub mod uart;
pub mod virtio;