mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
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>
This commit is contained in:
parent
97475a8937
commit
8c94b071a0
4 changed files with 65 additions and 6 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue