summaryrefslogtreecommitdiff
path: root/src/sim/system.cc
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2008-08-11 12:22:17 -0700
committerNathan Binkert <nate@binkert.org>2008-08-11 12:22:17 -0700
commit9cf8ad3a17894c482968b5055e72f5434740f1f2 (patch)
treec01643645476f4c6b4e382c788e2d6f72242b85a /src/sim/system.cc
parentee62a0fec8e63f45f816c61ab9fb28aba7414185 (diff)
downloadgem5-9cf8ad3a17894c482968b5055e72f5434740f1f2.tar.xz
params: Get rid of the remnants of the old style parameter configuration stuff.
Diffstat (limited to 'src/sim/system.cc')
-rw-r--r--src/sim/system.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/sim/system.cc b/src/sim/system.cc
index 803881539..7b830d0f7 100644
--- a/src/sim/system.cc
+++ b/src/sim/system.cc
@@ -285,11 +285,7 @@ const char *System::MemoryModeStrings[3] = {"invalid", "atomic",
System *
SystemParams::create()
{
- System::Params *p = new System::Params;
- p->name = name;
- p->physmem = physmem;
- p->mem_mode = mem_mode;
- return new System(p);
+ return new System(this);
}
#endif