Sanjay Lal | e2132e0 | 2014-06-17 23:10:32 +0100 | [diff] [blame] | 1 | /* |
| 2 | * This file is subject to the terms and conditions of the GNU General Public |
| 3 | * License. See the file "COPYING" in the main directory of this archive |
| 4 | * for more details. |
| 5 | * |
| 6 | * KVM/MIPS: MIPS specific KVM APIs |
| 7 | * |
| 8 | * Copyright (C) 2012-2014 Imagination Technologies Ltd. |
| 9 | * Authors: Sanjay Lal <sanjayl@kymasys.com> |
| 10 | */ |
| 11 | |
Markus Armbruster | 2a6a407 | 2016-06-29 13:47:03 +0200 | [diff] [blame] | 12 | #ifndef KVM_MIPS_H |
| 13 | #define KVM_MIPS_H |
Sanjay Lal | e2132e0 | 2014-06-17 23:10:32 +0100 | [diff] [blame] | 14 | |
| 15 | /** |
| 16 | * kvm_mips_reset_vcpu: |
| 17 | * @cpu: MIPSCPU |
| 18 | * |
| 19 | * Called at reset time to set kernel registers to their initial values. |
| 20 | */ |
| 21 | void kvm_mips_reset_vcpu(MIPSCPU *cpu); |
| 22 | |
| 23 | int kvm_mips_set_interrupt(MIPSCPU *cpu, int irq, int level); |
| 24 | int kvm_mips_set_ipi_interrupt(MIPSCPU *cpu, int irq, int level); |
| 25 | |
Markus Armbruster | 2a6a407 | 2016-06-29 13:47:03 +0200 | [diff] [blame] | 26 | #endif /* KVM_MIPS_H */ |