From 5a1340d046c00a322fe2ac4d97a9b03e732b46ba Mon Sep 17 00:00:00 2001 From: Ali Saidi <saidi@eecs.umich.edu> Date: Tue, 29 Jun 2004 16:08:26 -0400 Subject: Another fix for the too much work problem in 2.6. This should do it. Both rx/tx interrupts are now scheduled for the future to give the linux kernel time to get out of its loop. --HG-- extra : convert_revision : 8fee0a25fde0ce0545c924f8547bed460602e006 --- dev/uart.hh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'dev/uart.hh') 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: -- cgit v1.2.3