pub fn register_serial_device(
locked: &mut Locked<Unlocked>,
system_task: &CurrentTask,
index: u32,
serial_device: Arc<SerialDevice>,
) -> Result<(), Errno>Expand description
Register the given serial device.
The index should be the numerical value associated with the device. For example, if you want
to register /dev/ttySindex should be n.