gem5/src/dev/arm
Andreas Hansson 452217817f Clock: Move the clock and related functions to ClockedObject
This patch moves the clock of the CPU, bus, and numerous devices to
the new class ClockedObject, that sits in between the SimObject and
MemObject in the class hierarchy. Although there are currently a fair
amount of MemObjects that do not make use of the clock, they
potentially should do so, e.g. the caches should at some point have
the same clock as the CPU, potentially with a 1:n ratio. This patch
does not introduce any new clock objects or object hierarchies
(clusters, clock domains etc), but is still a step in the direction of
having a more structured approach clock domains.

The most contentious part of this patch is the serialisation of clocks
that some of the modules (but not all) did previously. This
serialisation should not be needed as the clock is set through the
parameters even when restoring from the checkpoint. In other words,
the state is "stored" in the Python code that creates the modules.

The nextCycle methods are also simplified and the clock phase
parameter of the CPU is removed (this could be part of a clock object
once they are introduced).
2012-08-21 05:49:01 -04:00
..
a9scu.cc ARM: Add snoop control unit device. 2011-05-04 20:38:27 -05:00
a9scu.hh ARM: Add snoop control unit device. 2011-05-04 20:38:27 -05:00
amba_device.cc fix some build problems from prior changesets 2011-04-20 18:45:03 -07:00
amba_device.hh DMA: Split the DMA device and IO device into seperate files 2012-05-23 09:15:45 -04:00
amba_fake.cc fix some build problems from prior changesets 2011-04-20 18:45:03 -07:00
amba_fake.hh ARM: Add I/O devices for booting linux 2010-08-23 11:18:40 -05:00
gic.cc Port: Make getAddrRanges const 2012-07-09 12:35:34 -04:00
gic.hh Port: Make getAddrRanges const 2012-07-09 12:35:34 -04:00
kmi.cc ARM: PS2 encoding fix 2012-06-05 01:23:10 -04:00
kmi.hh includes: sort all includes 2011-04-15 10:44:06 -07:00
pl011.cc ARM: pl011 raw interrupt fix 2012-05-10 18:04:28 -05:00
pl011.hh ARM: Change how the AMBA device ID checking is done to make it more generic 2010-08-23 11:18:40 -05:00
pl111.cc Clock: Move the clock and related functions to ClockedObject 2012-08-21 05:49:01 -04:00
pl111.hh Clock: Move the clock and related functions to ClockedObject 2012-08-21 05:49:01 -04:00
realview.cc SE/FS: Remove System::platform and Platform::intrFrequency. 2011-09-30 00:29:07 -07:00
realview.hh SE/FS: Remove System::platform and Platform::intrFrequency. 2011-09-30 00:29:07 -07:00
RealView.py Clock: Move the clock and related functions to ClockedObject 2012-08-21 05:49:01 -04:00
rtc_pl031.cc ARM: Fix incorrect use of not operators in arm devices 2012-05-10 18:04:27 -05:00
rtc_pl031.hh ARM: Add RTC device for ARM platforms. 2012-03-01 17:26:31 -06:00
rv_ctrl.cc ARM: fix the calculation of the values in the RV clocks 2012-05-10 18:04:28 -05:00
rv_ctrl.hh ARM: Add support for Versatile Express boards 2011-08-19 15:08:08 -05:00
SConscript ARM: Add RTC device for ARM platforms. 2012-03-01 17:26:31 -06:00
timer_cpulocal.cc Clock: Move the clock and related functions to ClockedObject 2012-08-21 05:49:01 -04:00
timer_cpulocal.hh ARM: Add per-cpu local timers for ARM. 2011-08-19 15:08:05 -05:00
timer_sp804.cc ARM: Fix incorrect use of not operators in arm devices 2012-05-10 18:04:27 -05:00
timer_sp804.hh ARM: Add checkpointing support 2010-11-08 13:58:25 -06:00