]> git.proxmox.com Git - qemu.git/commit
target-arm: Implement the generic timer
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 20 Aug 2013 13:54:31 +0000 (14:54 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 20 Aug 2013 13:54:31 +0000 (14:54 +0100)
commit55d284af8e31bbdf4d545cb2d6481cd0367680fb
tree954a9624cca40d7c9bbbd7604f45201472b6a50a
parent2452731c883cb0acd4e47b23039c46cd880cf2c6
target-arm: Implement the generic timer

The ARMv7 architecture specifies a 'generic timer' which is implemented
via cp15 registers. Newer kernels will prefer to use this rather than
a devboard-level timer. Implement the generic timer for TCG; for KVM
we will already use the hardware's virtualized timer for this.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Tested-by: Laurent Desnogues <laurent.desnogues@gmail.com>
Message-id: 1376065080-26661-4-git-send-email-peter.maydell@linaro.org
target-arm/cpu-qom.h
target-arm/cpu.c
target-arm/cpu.h
target-arm/helper.c
target-arm/machine.c