VirtualBox

Changeset 52041 in vbox for trunk/include/VBox/vmm


Ignore:
Timestamp:
Jul 15, 2014 3:43:30 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
95034
Message:

VMM: Fix NMI handling.

Location:
trunk/include/VBox/vmm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/hm_vmx.h

    r51946 r52041  
    13511351/** Use TPR shadow. */
    13521352#define VMX_VMCS_CTRL_PROC_EXEC_USE_TPR_SHADOW                  RT_BIT(21)
    1353 /** VM-exit when virtual nmi blocking is disabled. */
     1353/** VM-exit when virtual NMI blocking is disabled. */
    13541354#define VMX_VMCS_CTRL_PROC_EXEC_NMI_WINDOW_EXIT                 RT_BIT(22)
    13551355/** VM-exit when executing a MOV DRx instruction. */
     
    14891489#define VMX_EXIT_INTERRUPTION_INFO_ERROR_CODE_VALID               RT_BIT(11)
    14901490#define VMX_EXIT_INTERRUPTION_INFO_ERROR_CODE_IS_VALID(a)         RT_BOOL((a) & VMX_EXIT_INTERRUPTION_INFO_ERROR_CODE_VALID)
    1491 #define VMX_EXIT_INTERRUPTION_INFO_NMI_UNBLOCK(a)                 ((a) & RT_BIT(12))
     1491#define VMX_EXIT_INTERRUPTION_INFO_NMI_UNBLOCK_IRET(a)            ((a) & RT_BIT(12))
    14921492#define VMX_EXIT_INTERRUPTION_INFO_VALID                          RT_BIT(31)
    14931493#define VMX_EXIT_INTERRUPTION_INFO_IS_VALID(a)                    RT_BOOL((a) & RT_BIT(31))
  • trunk/include/VBox/vmm/vm.h

    r51934 r52041  
    405405/** Inhibit interrupts pending. See EMGetInhibitInterruptsPC(). */
    406406#define VMCPU_FF_INHIBIT_INTERRUPTS         RT_BIT_32(24)
     407/** Inhibit non-maskable interrupts. */
     408#define VMCPU_FF_INHIBIT_NMIS               RT_BIT_32(25)
    407409#ifdef VBOX_WITH_RAW_MODE
    408410/** CSAM needs to scan the page that's being executed */
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette