aboutsummaryrefslogtreecommitdiff
path: root/target/mips/kvm_mips.h
blob: 1e4014792ddc3482f3c516433f5d4a56c038bfb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
 * This file is subject to the terms and conditions of the GNU General Public
 * License.  See the file "COPYING" in the main directory of this archive
 * for more details.
 *
 * KVM/MIPS: MIPS specific KVM APIs
 *
 * Copyright (C) 2012-2014 Imagination Technologies Ltd.
 * Authors: Sanjay Lal <sanjayl@kymasys.com>
 */

#ifndef KVM_MIPS_H
#define KVM_MIPS_H

/**
 * kvm_mips_reset_vcpu:
 * @cpu: MIPSCPU
 *
 * Called at reset time to set kernel registers to their initial values.
 */
void kvm_mips_reset_vcpu(MIPSCPU *cpu);

int kvm_mips_set_interrupt(MIPSCPU *cpu, int irq, int level);
int kvm_mips_set_ipi_interrupt(MIPSCPU *cpu, int irq, int level);

#endif /* KVM_MIPS_H */