vmm.h (260619) | vmm.h (261170) |
---|---|
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 260619 2014-01-14 01:55:58Z neel $ | 26 * $FreeBSD: head/sys/amd64/include/vmm.h 261170 2014-01-25 20:58:05Z neel $ |
27 */ 28 29#ifndef _VMM_H_ 30#define _VMM_H_ 31 32#ifdef _KERNEL 33 34#define VM_MAX_NAMELEN 32 --- 258 unchanged lines hidden (view full) --- 293 VM_EXITCODE_HLT, 294 VM_EXITCODE_MTRAP, 295 VM_EXITCODE_PAUSE, 296 VM_EXITCODE_PAGING, 297 VM_EXITCODE_INST_EMUL, 298 VM_EXITCODE_SPINUP_AP, 299 VM_EXITCODE_SPINDOWN_CPU, 300 VM_EXITCODE_RENDEZVOUS, | 27 */ 28 29#ifndef _VMM_H_ 30#define _VMM_H_ 31 32#ifdef _KERNEL 33 34#define VM_MAX_NAMELEN 32 --- 258 unchanged lines hidden (view full) --- 293 VM_EXITCODE_HLT, 294 VM_EXITCODE_MTRAP, 295 VM_EXITCODE_PAUSE, 296 VM_EXITCODE_PAGING, 297 VM_EXITCODE_INST_EMUL, 298 VM_EXITCODE_SPINUP_AP, 299 VM_EXITCODE_SPINDOWN_CPU, 300 VM_EXITCODE_RENDEZVOUS, |
301 VM_EXITCODE_IOAPIC_EOI, |
|
301 VM_EXITCODE_MAX 302}; 303 304struct vm_exit { 305 enum vm_exitcode exitcode; 306 int inst_length; /* 0 means unknown */ 307 uint64_t rip; 308 union { --- 40 unchanged lines hidden (view full) --- 349 } msr; 350 struct { 351 int vcpu; 352 uint64_t rip; 353 } spinup_ap; 354 struct { 355 uint64_t rflags; 356 } hlt; | 302 VM_EXITCODE_MAX 303}; 304 305struct vm_exit { 306 enum vm_exitcode exitcode; 307 int inst_length; /* 0 means unknown */ 308 uint64_t rip; 309 union { --- 40 unchanged lines hidden (view full) --- 350 } msr; 351 struct { 352 int vcpu; 353 uint64_t rip; 354 } spinup_ap; 355 struct { 356 uint64_t rflags; 357 } hlt; |
358 struct { 359 int vector; 360 } ioapic_eoi; |
|
357 } u; 358}; 359 360#endif /* _VMM_H_ */ | 361 } u; 362}; 363 364#endif /* _VMM_H_ */ |