⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

init

Function init 

Source
pub fn init()
Expand description

Probe PCI bus for virtio-blk devices and initialize the first one found.

This is only meaningful on x86_64 where PCI I/O port access works. On AArch64 and RISC-V, this function is a no-op stub (virtio-mmio transport would be needed instead).