]> Git Repo - qemu.git/blame - target/mips/kvm_mips.h
works with less than base ISA qemu-system-riscv32 -M virt -bios none -kernel output...
[qemu.git] / target / mips / kvm_mips.h
CommitLineData
e2132e0b
SL
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 <[email protected]>
f6d147bb 10 */
e2132e0b 11
2a6a4076
MA
12#ifndef KVM_MIPS_H
13#define KVM_MIPS_H
e2132e0b 14
719d109b
HC
15#include "cpu.h"
16
e2132e0b
SL
17/**
18 * kvm_mips_reset_vcpu:
19 * @cpu: MIPSCPU
20 *
21 * Called at reset time to set kernel registers to their initial values.
22 */
23void kvm_mips_reset_vcpu(MIPSCPU *cpu);
24
25int kvm_mips_set_interrupt(MIPSCPU *cpu, int irq, int level);
26int kvm_mips_set_ipi_interrupt(MIPSCPU *cpu, int irq, int level);
27
719d109b
HC
28#ifdef CONFIG_KVM
29int mips_kvm_type(MachineState *machine, const char *vm_type);
30#else
31static inline int mips_kvm_type(MachineState *machine, const char *vm_type)
32{
33 return 0;
34}
35#endif
36
2a6a4076 37#endif /* KVM_MIPS_H */
This page took 0.342033 seconds and 5 git commands to generate.