18#include <l4/drivers/of.h>
22 class Uart_of :
public Uart,
public L4_drivers::Of
28 Uart_of() : Of(), _serial(0) {}
29 explicit Uart_of(
unsigned ) : Of(), _serial(0) {}
30 bool startup(Io_register_block
const *)
override;
31 void shutdown()
override;
32 bool change_mode(Transfer_mode m, Baud_rate r)
override;
33 int get_char(
bool blocking =
true)
const override;
34 int char_avail()
const override;
36 void out_char(
char c)
const;
37 int write(
char const *s,
unsigned long count,
38 bool blocking =
true)
const override;
L4 low-level kernel interface.