Home
last modified time | relevance | path

Searched refs:HalImpl (Results 1 – 3 of 3) sorted by relevance

/DragonOS-0.1.8/kernel/src/driver/net/
Dvirtio_net.rs12 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()
/DragonOS-0.1.8/kernel/src/driver/virtio/
Dvirtio.rs2 use super::virtio_impl::HalImpl;
32 match PciTransport::new::<HalImpl>(virtio_device) { in virtio_probe()
Dvirtio_impl.rs16 pub struct HalImpl; struct
17 unsafe impl Hal for HalImpl { implementation