]> rtime.felk.cvut.cz Git - l4.git/blob - kernel/fiasco/src/kern/arm/bsp/integrator/uart-arm-integrator.cpp
update
[l4.git] / kernel / fiasco / src / kern / arm / bsp / integrator / uart-arm-integrator.cpp
1 IMPLEMENTATION [integrator]:
2
3 #include "uart_pl011.h"
4 #include "mem_layout.h"
5
6 IMPLEMENT Address Uart::base() const { return Mem_layout::Uart_base; }
7
8 IMPLEMENT int Uart::irq() const { return 1; }
9
10 IMPLEMENT L4::Uart *Uart::uart()
11 {
12   static L4::Uart_pl011 uart(24019200);
13   return &uart;
14 }