Review Board 2.0.15


arm, dev: Add support for a memory mapped generic timer

Review Request #2765 - Created May 7, 2015 and submitted

Information
Andreas Sandberg
gem5
default
Reviewers
Default
Changeset 10842:dcfb716f577a
---------------------------
arm, dev: Add support for a memory mapped generic timer

There are cases when we don't want to use a system register mapped
generic timer, but can't use the SP804. For example, when using KVM on
aarch64, we want to intercept accesses to the generic timer, but can't
do so if it is using the system register interface. In such cases,
we need to use a memory-mapped generic timer.

This changeset adds a device model that implements the memory mapped
generic timer interface. The current implementation only supports a
single frame (i.e., one virtual timer and one physical timer).

ARM regressions pass. All backends build. Tested manually with a DTB without support for register-mapped generic timers.

Review request changed
Updated (May 23, 2015, 5:56 a.m.)

Status: Closed (submitted)