Trait kernel::Platform
[−]
[src]
pub trait Platform { fn with_driver<F, R>(&self, driver_num: usize, f: F) -> R
where
F: FnOnce(Option<&Driver>) -> R; }
Interface for individual boards.
Required Methods
fn with_driver<F, R>(&self, driver_num: usize, f: F) -> R where
F: FnOnce(Option<&Driver>) -> R,
F: FnOnce(Option<&Driver>) -> R,
Platform-specific mapping of syscall numbers to objects that implement the Driver methods for that syscall