|
@@ -19,6 +19,8 @@
|
|
#ifndef __ARM_KVM_ASM_H__
|
|
#ifndef __ARM_KVM_ASM_H__
|
|
#define __ARM_KVM_ASM_H__
|
|
#define __ARM_KVM_ASM_H__
|
|
|
|
|
|
|
|
+#include <asm/virt.h>
|
|
|
|
+
|
|
/* 0 is reserved as an invalid value. */
|
|
/* 0 is reserved as an invalid value. */
|
|
#define c0_MPIDR 1 /* MultiProcessor ID Register */
|
|
#define c0_MPIDR 1 /* MultiProcessor ID Register */
|
|
#define c0_CSSELR 2 /* Cache Size Selection Register */
|
|
#define c0_CSSELR 2 /* Cache Size Selection Register */
|
|
@@ -91,8 +93,8 @@ extern char __kvm_hyp_exit_end[];
|
|
|
|
|
|
extern char __kvm_hyp_vector[];
|
|
extern char __kvm_hyp_vector[];
|
|
|
|
|
|
-extern char __kvm_hyp_code_start[];
|
|
|
|
-extern char __kvm_hyp_code_end[];
|
|
|
|
|
|
+#define __kvm_hyp_code_start __hyp_text_start
|
|
|
|
+#define __kvm_hyp_code_end __hyp_text_end
|
|
|
|
|
|
extern void __kvm_flush_vm_context(void);
|
|
extern void __kvm_flush_vm_context(void);
|
|
extern void __kvm_tlb_flush_vmid_ipa(struct kvm *kvm, phys_addr_t ipa);
|
|
extern void __kvm_tlb_flush_vmid_ipa(struct kvm *kvm, phys_addr_t ipa);
|