pub fn sys_debug_write(&self, buf: UserInPtr<u8>, len: usize) -> ZxResult {
        info!("debug.write: buf=({:?}; {:#x})", buf, len);
        let data = buf.read_array(len)?;
        kernel_hal::console::console_write(core::str::from_utf8(&data).unwrap());
        Ok(())
    }
/// Write debug info to the serial port.
Write debug info to the serial port.
Write debug info to the serial port .
pub fn sys_debug_write(&self, buf: UserInPtr<u8>, len: usize) -> ZxResult {
        info!("debug.write: buf=({:?}; {:#x})", buf, len);
        let data = buf.read_array(len)?;
        kernel_hal::console::console_write(core::str::from_utf8(&data).unwrap());
        Ok(())
    }
pub fn sys_debug_write ( & self , buf : UserInPtr < u8 > , len : usize ) -> ZxResult { info ! ( " " buf len ) ; let data = buf . read_array ( len ) ? ; kernel_hal :: console :: console_write ( core :: str :: from_utf8 ( & data ) . unwrap ( ) ) ; Ok ( ( ) ) }
Write debug info to the serial port.
Write debug info to the serial port .
&self
buf
UserInPtr<u8>
len
usize
&self
buf
UserInPtr<u8>
len
usize