Skip to main content

Transport

Trait Transport 

Source
pub trait Transport {
    // Required methods
    fn read_word(&mut self) -> u32;
    fn write_word(&mut self, word: u32);
}
Expand description

Word-based transport used by the guest to communicate with the host.

Required Methods§

Source

fn read_word(&mut self) -> u32

Source

fn write_word(&mut self, word: u32)

Implementors§

Source§

impl Transport for CsrTransport

Available on non-RISC-V RV32 only.
Source§

impl Transport for MockTransport