vmm.h (276098) | vmm.h (276428) |
---|---|
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 276098 2014-12-23 02:14:49Z neel $ | 26 * $FreeBSD: head/sys/amd64/include/vmm.h 276428 2014-12-30 22:19:34Z neel $ |
27 */ 28 29#ifndef _VMM_H_ 30#define _VMM_H_ 31 32#include <x86/segments.h> 33 34enum vm_suspend_how { --- 246 unchanged lines hidden (view full) --- 281void *vcpu_stats(struct vm *vm, int vcpu); 282void vcpu_notify_event(struct vm *vm, int vcpuid, bool lapic_intr); 283struct vmspace *vm_get_vmspace(struct vm *vm); 284int vm_assign_pptdev(struct vm *vm, int bus, int slot, int func); 285int vm_unassign_pptdev(struct vm *vm, int bus, int slot, int func); 286struct vatpic *vm_atpic(struct vm *vm); 287struct vatpit *vm_atpit(struct vm *vm); 288struct vpmtmr *vm_pmtmr(struct vm *vm); | 27 */ 28 29#ifndef _VMM_H_ 30#define _VMM_H_ 31 32#include <x86/segments.h> 33 34enum vm_suspend_how { --- 246 unchanged lines hidden (view full) --- 281void *vcpu_stats(struct vm *vm, int vcpu); 282void vcpu_notify_event(struct vm *vm, int vcpuid, bool lapic_intr); 283struct vmspace *vm_get_vmspace(struct vm *vm); 284int vm_assign_pptdev(struct vm *vm, int bus, int slot, int func); 285int vm_unassign_pptdev(struct vm *vm, int bus, int slot, int func); 286struct vatpic *vm_atpic(struct vm *vm); 287struct vatpit *vm_atpit(struct vm *vm); 288struct vpmtmr *vm_pmtmr(struct vm *vm); |
289struct vrtc *vm_rtc(struct vm *vm); |
|
289 290/* 291 * Inject exception 'vme' into the guest vcpu. This function returns 0 on 292 * success and non-zero on failure. 293 * 294 * Wrapper functions like 'vm_inject_gp()' should be preferred to calling 295 * this function directly because they enforce the trap-like or fault-like 296 * behavior of an exception. --- 334 unchanged lines hidden --- | 290 291/* 292 * Inject exception 'vme' into the guest vcpu. This function returns 0 on 293 * success and non-zero on failure. 294 * 295 * Wrapper functions like 'vm_inject_gp()' should be preferred to calling 296 * this function directly because they enforce the trap-like or fault-like 297 * behavior of an exception. --- 334 unchanged lines hidden --- |