summaryrefslogtreecommitdiff
path: root/dev/uart.hh
diff options
context:
space:
mode:
Diffstat (limited to 'dev/uart.hh')
-rw-r--r--dev/uart.hh6
1 files changed, 4 insertions, 2 deletions
diff --git a/dev/uart.hh b/dev/uart.hh
index 83e1a758c..07ad4d0c8 100644
--- a/dev/uart.hh
+++ b/dev/uart.hh
@@ -62,14 +62,16 @@ class Uart : public PioDevice
{
protected:
Uart *uart;
+ int intrBit;
public:
- IntrEvent(Uart *u);
+ IntrEvent(Uart *u, int bit);
virtual void process();
virtual const char *description();
void scheduleIntr();
};
- IntrEvent intrEvent;
+ IntrEvent txIntrEvent;
+ IntrEvent rxIntrEvent;
Platform *platform;
public: