summaryrefslogtreecommitdiff
path: root/sim/system.hh
diff options
context:
space:
mode:
authorAndrew Schultz <alschult@umich.edu>2004-02-05 18:23:16 -0500
committerAndrew Schultz <alschult@umich.edu>2004-02-05 18:23:16 -0500
commitc76675be58b90657078cfb2638a3d0d7f285ef48 (patch)
treef204a4e55bda9091690d3cefd4ba60c97e39788d /sim/system.hh
parent77a30ed48daec8fa8db2aaf955eda4e2384df912 (diff)
downloadgem5-c76675be58b90657078cfb2638a3d0d7f285ef48.tar.xz
Now skips the calibrate_delay loop in the kernel boot
dev/tsunami.cc: Changed so Tsunami has a pointer to the System to which it belongs. Now it is derived from generic base class Platform so platform stuff can be accessed based on the system dev/tsunami_io.cc: dev/tsunami_io.hh: Cleanup and added copyright kern/linux/linux_system.cc: kern/linux/linux_system.hh: Added event to skip the "calibrate_delay" function, now calculate loops_per_jiffy based on frequency, interrupt frequency, and constant sim/system.hh: Added pointer to generic Platform base class --HG-- extra : convert_revision : 5bd925eec220a2ca48eb6164d2ecfdec96922c2c
Diffstat (limited to 'sim/system.hh')
-rw-r--r--sim/system.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/sim/system.hh b/sim/system.hh
index 8348a144e..e5d990e86 100644
--- a/sim/system.hh
+++ b/sim/system.hh
@@ -43,6 +43,7 @@
class MemoryController;
class PhysicalMemory;
+class Platform;
class RemoteGDB;
class GDBListener;
@@ -60,6 +61,7 @@ class System : public SimObject
const uint64_t init_param;
MemoryController *memCtrl;
PhysicalMemory *physmem;
+ Platform *platform;
bool bin;
PCEventQueue pcEventQueue;