pub fn new(mmio_base: u64, irq_interval: (u32, u32)) -> MMIODeviceManager {
        MMIODeviceManager {
            mmio_base,
            next_avail_mmio: mmio_base,
            irqs: IrqManager::new(irq_interval.0, irq_interval.1),
            bus: devices::Bus::new(),
            id_to_dev_info: HashMap::new(),
        }
    }
/// Create a new DeviceManager handling mmio devices (virtio net, block).
Create a new DeviceManager handling mmio devices (virtio net, block).
Create a new DeviceManager handling mmio devices ( virtio net block ) .
pub fn new(mmio_base: u64, irq_interval: (u32, u32)) -> MMIODeviceManager {
        MMIODeviceManager {
            mmio_base,
            next_avail_mmio: mmio_base,
            irqs: IrqManager::new(irq_interval.0, irq_interval.1),
            bus: devices::Bus::new(),
            id_to_dev_info: HashMap::new(),
        }
    }
pub fn new ( mmio_base : u64 , irq_interval : ( u32 , u32 ) ) -> MMIODeviceManager { MMIODeviceManager { mmio_base , next_avail_mmio : mmio_base , irqs : IrqManager :: new ( irq_interval . 0 , irq_interval . 1 ) , bus : devices :: Bus :: new ( ) , id_to_dev_info : HashMap :: new ( ) , } }
Create a new DeviceManager handling mmio devices (virtio net, block).
Create a new DeviceManager handling mmio devices ( virtio net block ) .
mmio_base
u64
irq_interval
(u32, u32)
mmio_base
u64
irq_interval
(u32, u32)