Searched refs:HalImpl (Results 1 – 3 of 3) sorted by relevance
/DragonOS-0.1.7/kernel/src/driver/virtio/ |
D | virtio_impl.rs | 10 pub struct HalImpl; struct 11 unsafe impl Hal for HalImpl { implementation
|
D | virtio.rs | 2 use super::virtio_impl::HalImpl; 32 match PciTransport::new::<HalImpl>(virtio_device) { in virtio_probe()
|
/DragonOS-0.1.7/kernel/src/driver/net/ |
D | virtio_net.rs | 12 driver::{virtio::virtio_impl::HalImpl, Driver}, 24 pub inner: Arc<SpinLock<VirtIONet<HalImpl, T, 2>>>, 111 pub fn new(driver_net: VirtIONet<HalImpl, T, 2>) -> Self { in new() argument 122 let inner: Arc<SpinLock<VirtIONet<HalImpl, T, 2>>> = Arc::new(SpinLock::new(driver_net)); in new() 219 let driver_net: VirtIONet<HalImpl, T, 2> = in virtio_net() 220 match VirtIONet::<HalImpl, T, 2>::new(transport, 4096) { in virtio_net()
|