pub trait Doorbell: Send + Sync {
// Required methods
fn page_count(&self) -> u32;
fn write(&self, page: u32, address: u32, value: u64);
}
Expand description
An interface to write a doorbell value to signal the device.
Required Methods§
Sourcefn page_count(&self) -> u32
fn page_count(&self) -> u32
Returns the maximum page number.