]> git.proxmox.com Git - qemu.git/commit
target-arm: Support coprocessor registers which do I/O
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)
commit2452731c883cb0acd4e47b23039c46cd880cf2c6
treee5f6fc479e155d21c5803eaa1e2ca6c4d3e665cc
parent22d9e1a986a671ebfacb21555b7533336f3e8259
target-arm: Support coprocessor registers which do I/O

Add an ARM_CP_IO flag which an ARMCPRegInfo definition can use to
indicate that the register's implementation does I/O and thus
its accesses need to be surrounded by gen_io_start()/gen_io_end()
in order for icount to work. Most notably, cp registers which
implement clocks or timers need this.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Tested-by: Laurent Desnogues <laurent.desnogues@gmail.com>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Message-id: 1376065080-26661-3-git-send-email-peter.maydell@linaro.org
target-arm/cpu.h
target-arm/translate.c