[Denali] Interrupts working in rust.
This commit is contained in:
parent
df79233bbb
commit
d94f61511b
8 changed files with 654 additions and 123 deletions
|
|
@ -40,6 +40,15 @@ impl PortServer {
|
|||
|
||||
Ok(u16::from_le_bytes(bytes))
|
||||
}
|
||||
|
||||
pub fn recv_null(&self) -> Result<(), ZError> {
|
||||
let mut caps: [z_cap_t; 0] = [];
|
||||
let mut bytes: [u8; 0] = [];
|
||||
|
||||
port_recv(&self.port_cap, &mut bytes, &mut caps)?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
||||
pub struct PortClient {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue