Searched hist:3542 (Results 1 - 3 of 3) sorted by relevance
/gem5/src/dev/arm/ | ||
H A D | generic_timer.hh | 12102:909ed81fd533 Mon May 22 15:22:00 EDT 2017 Curtis Dunham <Curtis.Dunham@arm.com> dev,arm: add Kvm mode of operation for CP15 timer The timer device exposed via the ARM ISA, also known as the "CP15 timer" due to its legacy coprocessor encodings, is implemented by the GenericTimerISA class. During Kvm execution, however, this functionality is directly emulated by the hardware. This commit subclasses the GenericTimer, which is (solely) used by GenericTimerISA, to facilitate Kvm in much the same way as the prior GIC changes: the gem5 model is used as the backing store for state, so checkpointing and CPU switching work correctly, but isn't used during Kvm execution. The added indirection prevents the timer device from creating events when we're just updating its state, but not actually using it for simulation. Change-Id: I427540d11ccf049c334afe318f575146aa888672 Reviewed-on: https://gem5-review.googlesource.com/3542 Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Maintainer: Andreas Sandberg <andreas.sandberg@arm.com> |
H A D | generic_timer.cc | 12102:909ed81fd533 Mon May 22 15:22:00 EDT 2017 Curtis Dunham <Curtis.Dunham@arm.com> dev,arm: add Kvm mode of operation for CP15 timer The timer device exposed via the ARM ISA, also known as the "CP15 timer" due to its legacy coprocessor encodings, is implemented by the GenericTimerISA class. During Kvm execution, however, this functionality is directly emulated by the hardware. This commit subclasses the GenericTimer, which is (solely) used by GenericTimerISA, to facilitate Kvm in much the same way as the prior GIC changes: the gem5 model is used as the backing store for state, so checkpointing and CPU switching work correctly, but isn't used during Kvm execution. The added indirection prevents the timer device from creating events when we're just updating its state, but not actually using it for simulation. Change-Id: I427540d11ccf049c334afe318f575146aa888672 Reviewed-on: https://gem5-review.googlesource.com/3542 Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Maintainer: Andreas Sandberg <andreas.sandberg@arm.com> |
/gem5/src/ | ||
H A D | SConscript | 3542:9f744a6e22cf Mon Nov 06 19:55:00 EST 2006 Gabe Black <gblack@eecs.umich.edu> Only bother with the device SConscript if you're in FULL_SYSTEM |
Completed in 60 milliseconds