summaryrefslogtreecommitdiffstats
path: root/arch/arm64/kvm/hyp/hyp.h
diff options
context:
space:
mode:
authorMarc Zyngier2015-10-19 20:28:29 +0200
committerMarc Zyngier2015-12-14 12:30:40 +0100
commitc209ec85a2a7d2fd38bca0a44b7e70abd079c178 (patch)
tree04a66f17cee2f78c6d497466c8bb136380193ee5 /arch/arm64/kvm/hyp/hyp.h
parentarm64: KVM: Implement system register save/restore (diff)
downloadkernel-qcow2-linux-c209ec85a2a7d2fd38bca0a44b7e70abd079c178.tar.gz
kernel-qcow2-linux-c209ec85a2a7d2fd38bca0a44b7e70abd079c178.tar.xz
kernel-qcow2-linux-c209ec85a2a7d2fd38bca0a44b7e70abd079c178.zip
arm64: KVM: Implement 32bit system register save/restore
Implement the 32bit system register save/restore as a direct translation of the assembly code version. Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Diffstat (limited to 'arch/arm64/kvm/hyp/hyp.h')
-rw-r--r--arch/arm64/kvm/hyp/hyp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm64/kvm/hyp/hyp.h b/arch/arm64/kvm/hyp/hyp.h
index 778d56d41f9b..bffd30834eb8 100644
--- a/arch/arm64/kvm/hyp/hyp.h
+++ b/arch/arm64/kvm/hyp/hyp.h
@@ -40,6 +40,8 @@ void __timer_restore_state(struct kvm_vcpu *vcpu);
void __sysreg_save_state(struct kvm_cpu_context *ctxt);
void __sysreg_restore_state(struct kvm_cpu_context *ctxt);
+void __sysreg32_save_state(struct kvm_vcpu *vcpu);
+void __sysreg32_restore_state(struct kvm_vcpu *vcpu);
#endif /* __ARM64_KVM_HYP_H__ */