vmm.h (245678) | vmm.h (246686) |
---|---|
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: head/sys/amd64/include/vmm.h 245678 2013-01-20 03:42:49Z neel $ | 26 * $FreeBSD: head/sys/amd64/include/vmm.h 246686 2013-02-11 20:36:07Z neel $ |
27 */ 28 29#ifndef _VMM_H_ 30#define _VMM_H_ 31 32#ifdef _KERNEL 33 34#define VM_MAX_NAMELEN 32 --- 62 unchanged lines hidden (view full) --- 97int vm_gpabase2memseg(struct vm *vm, vm_paddr_t gpabase, 98 struct vm_memory_segment *seg); 99int vm_get_register(struct vm *vm, int vcpu, int reg, uint64_t *retval); 100int vm_set_register(struct vm *vm, int vcpu, int reg, uint64_t val); 101int vm_get_seg_desc(struct vm *vm, int vcpu, int reg, 102 struct seg_desc *ret_desc); 103int vm_set_seg_desc(struct vm *vm, int vcpu, int reg, 104 struct seg_desc *desc); | 27 */ 28 29#ifndef _VMM_H_ 30#define _VMM_H_ 31 32#ifdef _KERNEL 33 34#define VM_MAX_NAMELEN 32 --- 62 unchanged lines hidden (view full) --- 97int vm_gpabase2memseg(struct vm *vm, vm_paddr_t gpabase, 98 struct vm_memory_segment *seg); 99int vm_get_register(struct vm *vm, int vcpu, int reg, uint64_t *retval); 100int vm_set_register(struct vm *vm, int vcpu, int reg, uint64_t val); 101int vm_get_seg_desc(struct vm *vm, int vcpu, int reg, 102 struct seg_desc *ret_desc); 103int vm_set_seg_desc(struct vm *vm, int vcpu, int reg, 104 struct seg_desc *desc); |
105int vm_get_pinning(struct vm *vm, int vcpu, int *cpuid); 106int vm_set_pinning(struct vm *vm, int vcpu, int cpuid); | |
107int vm_run(struct vm *vm, struct vm_run *vmrun); 108int vm_inject_event(struct vm *vm, int vcpu, int type, 109 int vector, uint32_t error_code, int error_code_valid); 110int vm_inject_nmi(struct vm *vm, int vcpu); 111int vm_nmi_pending(struct vm *vm, int vcpuid); 112void vm_nmi_clear(struct vm *vm, int vcpuid); 113uint64_t *vm_guest_msrs(struct vm *vm, int cpu); 114struct vlapic *vm_lapic(struct vm *vm, int cpu); --- 179 unchanged lines hidden --- | 105int vm_run(struct vm *vm, struct vm_run *vmrun); 106int vm_inject_event(struct vm *vm, int vcpu, int type, 107 int vector, uint32_t error_code, int error_code_valid); 108int vm_inject_nmi(struct vm *vm, int vcpu); 109int vm_nmi_pending(struct vm *vm, int vcpuid); 110void vm_nmi_clear(struct vm *vm, int vcpuid); 111uint64_t *vm_guest_msrs(struct vm *vm, int cpu); 112struct vlapic *vm_lapic(struct vm *vm, int cpu); --- 179 unchanged lines hidden --- |