vmmapi.h (268953) | vmmapi.h (268972) |
---|---|
1/*- 2 * Copyright (c) 2011 NetApp, Inc. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * | 1/*- 2 * Copyright (c) 2011 NetApp, Inc. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * |
26 * $FreeBSD: stable/10/lib/libvmmapi/vmmapi.h 268953 2014-07-21 19:08:02Z jhb $ | 26 * $FreeBSD: stable/10/lib/libvmmapi/vmmapi.h 268972 2014-07-22 03:14:37Z jhb $ |
27 */ 28 29#ifndef _VMMAPI_H_ 30#define _VMMAPI_H_ 31 32struct vmctx; 33enum x2apic_state; 34 --- 38 unchanged lines hidden (view full) --- 73int vm_lapic_msi(struct vmctx *ctx, uint64_t addr, uint64_t msg); 74int vm_ioapic_assert_irq(struct vmctx *ctx, int irq); 75int vm_ioapic_deassert_irq(struct vmctx *ctx, int irq); 76int vm_ioapic_pulse_irq(struct vmctx *ctx, int irq); 77int vm_ioapic_pincount(struct vmctx *ctx, int *pincount); 78int vm_isa_assert_irq(struct vmctx *ctx, int atpic_irq, int ioapic_irq); 79int vm_isa_deassert_irq(struct vmctx *ctx, int atpic_irq, int ioapic_irq); 80int vm_isa_pulse_irq(struct vmctx *ctx, int atpic_irq, int ioapic_irq); | 27 */ 28 29#ifndef _VMMAPI_H_ 30#define _VMMAPI_H_ 31 32struct vmctx; 33enum x2apic_state; 34 --- 38 unchanged lines hidden (view full) --- 73int vm_lapic_msi(struct vmctx *ctx, uint64_t addr, uint64_t msg); 74int vm_ioapic_assert_irq(struct vmctx *ctx, int irq); 75int vm_ioapic_deassert_irq(struct vmctx *ctx, int irq); 76int vm_ioapic_pulse_irq(struct vmctx *ctx, int irq); 77int vm_ioapic_pincount(struct vmctx *ctx, int *pincount); 78int vm_isa_assert_irq(struct vmctx *ctx, int atpic_irq, int ioapic_irq); 79int vm_isa_deassert_irq(struct vmctx *ctx, int atpic_irq, int ioapic_irq); 80int vm_isa_pulse_irq(struct vmctx *ctx, int atpic_irq, int ioapic_irq); |
81int vm_isa_set_irq_trigger(struct vmctx *ctx, int atpic_irq, 82 enum vm_intr_trigger trigger); |
|
81int vm_inject_nmi(struct vmctx *ctx, int vcpu); 82int vm_capability_name2type(const char *capname); 83const char *vm_capability_type2name(int type); 84int vm_get_capability(struct vmctx *ctx, int vcpu, enum vm_cap_type cap, 85 int *retval); 86int vm_set_capability(struct vmctx *ctx, int vcpu, enum vm_cap_type cap, 87 int val); 88int vm_assign_pptdev(struct vmctx *ctx, int bus, int slot, int func); --- 35 unchanged lines hidden --- | 83int vm_inject_nmi(struct vmctx *ctx, int vcpu); 84int vm_capability_name2type(const char *capname); 85const char *vm_capability_type2name(int type); 86int vm_get_capability(struct vmctx *ctx, int vcpu, enum vm_cap_type cap, 87 int *retval); 88int vm_set_capability(struct vmctx *ctx, int vcpu, enum vm_cap_type cap, 89 int val); 90int vm_assign_pptdev(struct vmctx *ctx, int bus, int slot, int func); --- 35 unchanged lines hidden --- |