misc: Remove FullSystem check for networking components
Ethernet devices are currently only hooked up if running in FS mode. Much of the Ethernet networking code is generic and can be used to build non-Ethernet device models. Some of these device models do not require a complex driver stack and can be built to use an EmulatedDriver in SE mode. This patch enables etherent interfaces to properly connect regardless of whether the simulation is in FS or SE mode.
This commit is contained in:
parent
4c903d0412
commit
cc58148fe1
1 changed files with 13 additions and 15 deletions
|
@ -77,7 +77,6 @@ connectPorts(SimObject *o1, const std::string &name1, int i1,
|
|||
SimObject *o2, const std::string &name2, int i2)
|
||||
{
|
||||
#if THE_ISA != NULL_ISA
|
||||
if (FullSystem) {
|
||||
EtherObject *eo1, *eo2;
|
||||
EtherDevice *ed1, *ed2;
|
||||
eo1 = dynamic_cast<EtherObject*>(o1);
|
||||
|
@ -97,7 +96,6 @@ connectPorts(SimObject *o1, const std::string &name1, int i1,
|
|||
return 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
// These could be MessageBuffers from the ruby memory system. If so, they
|
||||
|
|
Loading…
Reference in a new issue