]> rtime.felk.cvut.cz Git - l4.git/blobdiff - kernel/fiasco/src/lib/uart/uart_pl011.h
update
[l4.git] / kernel / fiasco / src / lib / uart / uart_pl011.h
index 3e9019ea6bf124d40fa697e330436f77a81e6c1b..9d5322f1166ad1b7240e760f68c37676810485a3 100644 (file)
@@ -8,6 +8,7 @@ namespace L4
   class Uart_pl011 : public Uart
   {
   public:
+    Uart_pl011(unsigned freq) : _freq(freq) {}
     bool startup(Io_register_block const *);
     void shutdown();
     bool change_mode(Transfer_mode m, Baud_rate r);
@@ -16,6 +17,9 @@ namespace L4
     int char_avail() const;
     inline void out_char(char c) const;
     int write(char const *s, unsigned long count) const;
+
+  private:
+    unsigned _freq;
   };
 };