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
This commit is contained in:
Ali Saidi
2004-06-29 16:08:26 -04:00
parent 38fe4d9a86
commit 5a1340d046
2 changed files with 63 additions and 38 deletions

View File

@@ -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: