mirror of
https://github.com/torvalds/linux.git
synced 2024-12-21 10:31:54 +00:00
d94d71cb45
Based on 1 normalized pattern(s): this program is free software you can redistribute it and or modify it under the terms of the gnu general public license version 2 as published by the free software foundation this program is distributed in the hope that it will be useful but without any warranty without even the implied warranty of merchantability or fitness for a particular purpose see the gnu general public license for more details you should have received a copy of the gnu general public license along with this program if not write to the free software foundation 51 franklin street fifth floor boston ma 02110 1301 usa extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 67 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Allison Randal <allison@lohutok.net> Reviewed-by: Richard Fontana <rfontana@redhat.com> Reviewed-by: Alexios Zavras <alexios.zavras@intel.com> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190529141333.953658117@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
37 lines
1.4 KiB
C
37 lines
1.4 KiB
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (C) 2012 Rusty Russell IBM Corporation
|
|
*/
|
|
|
|
#ifndef __ARM_KVM_COPROC_H__
|
|
#define __ARM_KVM_COPROC_H__
|
|
#include <linux/kvm_host.h>
|
|
|
|
void kvm_reset_coprocs(struct kvm_vcpu *vcpu);
|
|
|
|
struct kvm_coproc_target_table {
|
|
unsigned target;
|
|
const struct coproc_reg *table;
|
|
size_t num;
|
|
};
|
|
void kvm_register_target_coproc_table(struct kvm_coproc_target_table *table);
|
|
|
|
int kvm_handle_cp10_id(struct kvm_vcpu *vcpu, struct kvm_run *run);
|
|
int kvm_handle_cp_0_13_access(struct kvm_vcpu *vcpu, struct kvm_run *run);
|
|
int kvm_handle_cp14_load_store(struct kvm_vcpu *vcpu, struct kvm_run *run);
|
|
int kvm_handle_cp14_32(struct kvm_vcpu *vcpu, struct kvm_run *run);
|
|
int kvm_handle_cp14_64(struct kvm_vcpu *vcpu, struct kvm_run *run);
|
|
int kvm_handle_cp15_32(struct kvm_vcpu *vcpu, struct kvm_run *run);
|
|
int kvm_handle_cp15_64(struct kvm_vcpu *vcpu, struct kvm_run *run);
|
|
|
|
unsigned long kvm_arm_num_guest_msrs(struct kvm_vcpu *vcpu);
|
|
int kvm_arm_copy_msrindices(struct kvm_vcpu *vcpu, u64 __user *uindices);
|
|
void kvm_coproc_table_init(void);
|
|
|
|
struct kvm_one_reg;
|
|
int kvm_arm_copy_coproc_indices(struct kvm_vcpu *vcpu, u64 __user *uindices);
|
|
int kvm_arm_coproc_get_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *);
|
|
int kvm_arm_coproc_set_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *);
|
|
unsigned long kvm_arm_num_coproc_regs(struct kvm_vcpu *vcpu);
|
|
#endif /* __ARM_KVM_COPROC_H__ */
|