diff options
author | Jintack Lim <jintack@cs.columbia.edu> | 2017-02-03 10:20:03 -0500 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2017-02-08 10:13:34 -0500 |
commit | a91d18551e7b35e34a04b6fd199ca8568e7e9315 (patch) | |
tree | 77f47ef83c6ce0d35fbaf25e993ad6f264330d5f /include/kvm/arm_arch_timer.h | |
parent | 009a5701bb2d166073f75643bc9237fe014c6bf5 (diff) |
KVM: arm/arm64: Initialize the emulated EL1 physical timer
Initialize the emulated EL1 physical timer with the default irq number.
Signed-off-by: Jintack Lim <jintack@cs.columbia.edu>
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'include/kvm/arm_arch_timer.h')
-rw-r--r-- | include/kvm/arm_arch_timer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/kvm/arm_arch_timer.h b/include/kvm/arm_arch_timer.h index 6445a3d9a6e2..f1d2fba0b9c6 100644 --- a/include/kvm/arm_arch_timer.h +++ b/include/kvm/arm_arch_timer.h | |||
@@ -58,7 +58,8 @@ struct arch_timer_cpu { | |||
58 | int kvm_timer_hyp_init(void); | 58 | int kvm_timer_hyp_init(void); |
59 | int kvm_timer_enable(struct kvm_vcpu *vcpu); | 59 | int kvm_timer_enable(struct kvm_vcpu *vcpu); |
60 | int kvm_timer_vcpu_reset(struct kvm_vcpu *vcpu, | 60 | int kvm_timer_vcpu_reset(struct kvm_vcpu *vcpu, |
61 | const struct kvm_irq_level *irq); | 61 | const struct kvm_irq_level *virt_irq, |
62 | const struct kvm_irq_level *phys_irq); | ||
62 | void kvm_timer_vcpu_init(struct kvm_vcpu *vcpu); | 63 | void kvm_timer_vcpu_init(struct kvm_vcpu *vcpu); |
63 | void kvm_timer_flush_hwstate(struct kvm_vcpu *vcpu); | 64 | void kvm_timer_flush_hwstate(struct kvm_vcpu *vcpu); |
64 | void kvm_timer_sync_hwstate(struct kvm_vcpu *vcpu); | 65 | void kvm_timer_sync_hwstate(struct kvm_vcpu *vcpu); |