Home
last modified time | relevance | path

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

/DragonOS-0.1.7/kernel/src/driver/base/platform/
Dmod.rs51 pub struct LockedPlatformBusDriver(SpinLock<PlatformBusDriver>); struct
53 impl LockedPlatformBusDriver { implementation
59 pub fn new() -> LockedPlatformBusDriver { in new()
60 LockedPlatformBusDriver(SpinLock::new(PlatformBusDriver::new())) in new()
230 impl Driver for LockedPlatformBusDriver { implementation
255 impl BusDriver for LockedPlatformBusDriver { implementation
322 fn set_driver(&self, driver: Option<Arc<LockedPlatformBusDriver>>) { in set_driver() argument
331 driver: Option<Arc<LockedPlatformBusDriver>>, // 总线驱动
382 let platform_driver: Arc<LockedPlatformBusDriver> = Arc::new(LockedPlatformBusDriver::new()); in platform_bus_init()