fn read(&mut self, _base: u64, _offset: u64, data: &mut [u8]) {
        if data.len() == 1 {
            data[0] = 0xe9
        } else {
            error!("Invalid read size on debug port: {}", data.len())
        }
    }
/// Upon read return the magic value to indicate that there is a debug port
Upon read return the magic value to indicate that there is a debug port
Upon read return the magic value to indicate that there is a debug port
fn read(&mut self, _base: u64, _offset: u64, data: &mut [u8]) {
        if data.len() == 1 {
            data[0] = 0xe9
        } else {
            error!("Invalid read size on debug port: {}", data.len())
        }
    }
fn read ( & mut self , _base : u64 , _offset : u64 , data : & mut [ u8 ] ) { if data . len ( ) == 1 { data [ 0 ] = 0xe9 } else { error ! ( " " data len ( ) ) } }
Upon read return the magic value to indicate that there is a debug port
Upon read return the magic value to indicate that there is a debug port
&mut self
_base
u64
_offset
u64
data
&mut [u8]
&mut self
_base
u64
_offset
u64
data
&mut [u8]