pub fn handle_csr_read(csrno: u32, plat: &mut dyn Platform) -> i32Expand description
Handle a read from an unrecognized CSR number.
Currently only ReadKbd (0x140) is handled here. It returns the next
byte from stdin, or -1 cast to i32 if none is available.