[Denali] Interrupts working in rust.

This commit is contained in:
Drew Galbraith 2024-10-02 23:59:50 -07:00
parent df79233bbb
commit d94f61511b
8 changed files with 654 additions and 123 deletions

View file

@ -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 {