Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/driver/base/platform/
Dmod.rs268 pub struct LockedPlatform(SpinLock<Platform>); struct
270 impl LockedPlatform { impl
274 pub fn new() -> LockedPlatform { in new()
275 LockedPlatform(SpinLock::new(Platform::new())) in new()
352 impl Device for LockedPlatform { implementation
382 impl Bus for LockedPlatform {} implementation
384 impl KObject for LockedPlatform {} implementation
391 let platform_device: Arc<LockedPlatform> = Arc::new(LockedPlatform::new()); in platform_bus_init()