]> rtime.felk.cvut.cz Git - l4.git/blobdiff - 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
index 54aa5792797dd1e2c7014f74b6a33f76b51ffdb9..dbef46c80ae08905e6f4f293cad6295024afaa00 100644 (file)
@@ -1,9 +1,14 @@
 IMPLEMENTATION [integrator]:
 
-#include "arm/uart_pl011.h"
+#include "uart_pl011.h"
+#include "mem_layout.h"
+
+IMPLEMENT Address Uart::base() const { return Mem_layout::Uart_base; }
+
+IMPLEMENT int Uart::irq() const { return 1; }
 
 IMPLEMENT L4::Uart *Uart::uart()
 {
-  static L4::Uart_pl011 uart(1,1);
+  static L4::Uart_pl011 uart(24019200);
   return &uart;
 }