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