eventq: convert all usage of events to use the new API.
For now, there is still a single global event queue, but this is necessary for making the steps towards a parallelized m5.
This commit is contained in:
@@ -90,8 +90,7 @@ class EtherTap : public EtherObject
|
||||
EtherTap *tap;
|
||||
|
||||
public:
|
||||
TxEvent(EtherTap *_tap)
|
||||
: Event(&mainEventQueue), tap(_tap) {}
|
||||
TxEvent(EtherTap *_tap) : tap(_tap) {}
|
||||
void process() { tap->retransmit(); }
|
||||
virtual const char *description() const
|
||||
{ return "EtherTap retransmit"; }
|
||||
|
||||
Reference in New Issue
Block a user