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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user