The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/amd64/vmm/intel/vmx_controls.h

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 /*-
    2  * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
    3  *
    4  * Copyright (c) 2011 NetApp, Inc.
    5  * All rights reserved.
    6  *
    7  * Redistribution and use in source and binary forms, with or without
    8  * modification, are permitted provided that the following conditions
    9  * are met:
   10  * 1. Redistributions of source code must retain the above copyright
   11  *    notice, this list of conditions and the following disclaimer.
   12  * 2. Redistributions in binary form must reproduce the above copyright
   13  *    notice, this list of conditions and the following disclaimer in the
   14  *    documentation and/or other materials provided with the distribution.
   15  *
   16  * THIS SOFTWARE IS PROVIDED BY NETAPP, INC ``AS IS'' AND
   17  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   18  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   19  * ARE DISCLAIMED.  IN NO EVENT SHALL NETAPP, INC OR CONTRIBUTORS BE LIABLE
   20  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   21  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   22  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   23  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   24  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   25  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   26  * SUCH DAMAGE.
   27  *
   28  * $FreeBSD$
   29  */
   30 
   31 #ifndef _VMX_CONTROLS_H_
   32 #define _VMX_CONTROLS_H_
   33 
   34 /* Pin-Based VM-Execution Controls */
   35 #define PINBASED_EXTINT_EXITING         (1 << 0)
   36 #define PINBASED_NMI_EXITING            (1 << 3)
   37 #define PINBASED_VIRTUAL_NMI            (1 << 5)
   38 #define PINBASED_PREMPTION_TIMER        (1 << 6)
   39 #define PINBASED_POSTED_INTERRUPT       (1 << 7)
   40 
   41 /* Primary Processor-Based VM-Execution Controls */
   42 #define PROCBASED_INT_WINDOW_EXITING    (1 << 2)
   43 #define PROCBASED_TSC_OFFSET            (1 << 3)
   44 #define PROCBASED_HLT_EXITING           (1 << 7)
   45 #define PROCBASED_INVLPG_EXITING        (1 << 9)
   46 #define PROCBASED_MWAIT_EXITING         (1 << 10)
   47 #define PROCBASED_RDPMC_EXITING         (1 << 11)
   48 #define PROCBASED_RDTSC_EXITING         (1 << 12)
   49 #define PROCBASED_CR3_LOAD_EXITING      (1 << 15)
   50 #define PROCBASED_CR3_STORE_EXITING     (1 << 16)
   51 #define PROCBASED_CR8_LOAD_EXITING      (1 << 19)
   52 #define PROCBASED_CR8_STORE_EXITING     (1 << 20)
   53 #define PROCBASED_USE_TPR_SHADOW        (1 << 21)
   54 #define PROCBASED_NMI_WINDOW_EXITING    (1 << 22)
   55 #define PROCBASED_MOV_DR_EXITING        (1 << 23)
   56 #define PROCBASED_IO_EXITING            (1 << 24)
   57 #define PROCBASED_IO_BITMAPS            (1 << 25)
   58 #define PROCBASED_MTF                   (1 << 27)
   59 #define PROCBASED_MSR_BITMAPS           (1 << 28)
   60 #define PROCBASED_MONITOR_EXITING       (1 << 29)
   61 #define PROCBASED_PAUSE_EXITING         (1 << 30)
   62 #define PROCBASED_SECONDARY_CONTROLS    (1U << 31)
   63 
   64 /* Secondary Processor-Based VM-Execution Controls */
   65 #define PROCBASED2_VIRTUALIZE_APIC_ACCESSES     (1 << 0)
   66 #define PROCBASED2_ENABLE_EPT                   (1 << 1)
   67 #define PROCBASED2_DESC_TABLE_EXITING           (1 << 2)
   68 #define PROCBASED2_ENABLE_RDTSCP                (1 << 3)
   69 #define PROCBASED2_VIRTUALIZE_X2APIC_MODE       (1 << 4)
   70 #define PROCBASED2_ENABLE_VPID                  (1 << 5)
   71 #define PROCBASED2_WBINVD_EXITING               (1 << 6)
   72 #define PROCBASED2_UNRESTRICTED_GUEST           (1 << 7)
   73 #define PROCBASED2_APIC_REGISTER_VIRTUALIZATION (1 << 8)
   74 #define PROCBASED2_VIRTUAL_INTERRUPT_DELIVERY   (1 << 9)
   75 #define PROCBASED2_PAUSE_LOOP_EXITING           (1 << 10)
   76 #define PROCBASED2_ENABLE_INVPCID               (1 << 12)
   77 
   78 /* VM Exit Controls */
   79 #define VM_EXIT_SAVE_DEBUG_CONTROLS     (1 << 2)
   80 #define VM_EXIT_HOST_LMA                (1 << 9)
   81 #define VM_EXIT_LOAD_PERF_GLOBAL_CTRL   (1 << 12)
   82 #define VM_EXIT_ACKNOWLEDGE_INTERRUPT   (1 << 15)
   83 #define VM_EXIT_SAVE_PAT                (1 << 18)
   84 #define VM_EXIT_LOAD_PAT                (1 << 19)
   85 #define VM_EXIT_SAVE_EFER               (1 << 20)
   86 #define VM_EXIT_LOAD_EFER               (1 << 21)
   87 #define VM_EXIT_SAVE_PREEMPTION_TIMER   (1 << 22)
   88 
   89 /* VM Entry Controls */
   90 #define VM_ENTRY_LOAD_DEBUG_CONTROLS    (1 << 2)
   91 #define VM_ENTRY_GUEST_LMA              (1 << 9)
   92 #define VM_ENTRY_INTO_SMM               (1 << 10)
   93 #define VM_ENTRY_DEACTIVATE_DUAL_MONITOR (1 << 11)
   94 #define VM_ENTRY_LOAD_PERF_GLOBAL_CTRL  (1 << 13)
   95 #define VM_ENTRY_LOAD_PAT               (1 << 14)
   96 #define VM_ENTRY_LOAD_EFER              (1 << 15)
   97 
   98 #endif

Cache object: c887e6cd136e5b766bb788fcc288e0ea


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.