diff options
author | Edgar E. Iglesias | 2015-08-13 12:26:18 +0200 |
---|---|---|
committer | Peter Maydell | 2015-08-13 12:26:18 +0200 |
commit | 0b6440afb807a80c6d64dcc987bcfed87e1ace17 (patch) | |
tree | 4a3d0e0f8574628fd8d4b1524e37bf18a4e69ede /target-arm/cpu.h | |
parent | target-arm: Add CNTVOFF_EL2 (diff) | |
download | qemu-0b6440afb807a80c6d64dcc987bcfed87e1ace17.tar.gz qemu-0b6440afb807a80c6d64dcc987bcfed87e1ace17.tar.xz qemu-0b6440afb807a80c6d64dcc987bcfed87e1ace17.zip |
target-arm: Add CNTHCTL_EL2
Adds control for trapping selected timer and counter accesses to EL2.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Message-id: 1436791864-4582-3-git-send-email-edgar.iglesias@gmail.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target-arm/cpu.h')
-rw-r--r-- | target-arm/cpu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target-arm/cpu.h b/target-arm/cpu.h index b1fa2879a8..ea410523da 100644 --- a/target-arm/cpu.h +++ b/target-arm/cpu.h @@ -358,6 +358,7 @@ typedef struct CPUARMState { }; uint64_t c14_cntfrq; /* Counter Frequency register */ uint64_t c14_cntkctl; /* Timer Control register */ + uint32_t cnthctl_el2; /* Counter/Timer Hyp Control register */ uint64_t cntvoff_el2; /* Counter Virtual Offset register */ ARMGenericTimer c14_timer[NUM_GTIMERS]; uint32_t c15_cpar; /* XScale Coprocessor Access Register */ |