projects
/
gem5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ISA: Make the decode function part of the ISA's decoder.
[gem5.git]
/
src
/
dev
/
etherbus.hh
diff --git
a/src/dev/etherbus.hh
b/src/dev/etherbus.hh
index 624ceb81a2f679689d3661f4a0278f2428bbd564..43978b9c23e490cbef9eea1bb889f568e27fd0a5 100644
(file)
--- a/
src/dev/etherbus.hh
+++ b/
src/dev/etherbus.hh
@@
-35,12
+35,11
@@
#ifndef __ETHERBUS_H__
#define __ETHERBUS_H__
#ifndef __ETHERBUS_H__
#define __ETHERBUS_H__
-#include "sim/eventq.hh"
-#include "dev/etherpkt.hh"
#include "dev/etherobject.hh"
#include "dev/etherobject.hh"
+#include "dev/etherpkt.hh"
#include "params/EtherBus.hh"
#include "params/EtherBus.hh"
+#include "sim/eventq.hh"
#include "sim/sim_object.hh"
#include "sim/sim_object.hh"
-#include "params/EtherBus.hh"
class EtherDump;
class EtherInt;
class EtherDump;
class EtherInt;
@@
-59,8
+58,7
@@
class EtherBus : public EtherObject
EtherBus *bus;
public:
EtherBus *bus;
public:
- DoneEvent(EventQueue *q, EtherBus *b)
- : Event(q), bus(b) {}
+ DoneEvent(EtherBus *b) : bus(b) {}
virtual void process() { bus->txDone(); }
virtual const char *description() const
{ return "ethernet bus completion"; }
virtual void process() { bus->txDone(); }
virtual const char *description() const
{ return "ethernet bus completion"; }