diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2020-02-07 14:04:25 +0000 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2020-02-07 14:04:25 +0000 |
| commit | 8c94b071a09c2183f032febff3112f2b7662156c (patch) | |
| tree | 653d13f4c5c620776f0616415717316075a3ad51 /target/arm/cpu.h | |
| parent | 97475a89375d62a7722e04ced9fbdf0b992f4b83 (diff) | |
| download | focaccia-qemu-8c94b071a09c2183f032febff3112f2b7662156c.tar.gz focaccia-qemu-8c94b071a09c2183f032febff3112f2b7662156c.zip | |
target/arm: Add the hypervisor virtual counter
Tested-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20200206105448.4726-26-richard.henderson@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target/arm/cpu.h')
| -rw-r--r-- | target/arm/cpu.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/target/arm/cpu.h b/target/arm/cpu.h index 68e11f0eda..ded1e8e0a8 100644 --- a/target/arm/cpu.h +++ b/target/arm/cpu.h @@ -144,11 +144,12 @@ typedef struct ARMGenericTimer { uint64_t ctl; /* Timer Control register */ } ARMGenericTimer; -#define GTIMER_PHYS 0 -#define GTIMER_VIRT 1 -#define GTIMER_HYP 2 -#define GTIMER_SEC 3 -#define NUM_GTIMERS 4 +#define GTIMER_PHYS 0 +#define GTIMER_VIRT 1 +#define GTIMER_HYP 2 +#define GTIMER_SEC 3 +#define GTIMER_HYPVIRT 4 +#define NUM_GTIMERS 5 typedef struct { uint64_t raw_tcr; |