Changeset 47109 in vbox
- Timestamp:
- Jul 12, 2013 10:16:38 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/hm_vmx.h
r46942 r47109 589 589 #define VMX_EXIT_INVALID -1 590 590 /** 0 Exception or non-maskable interrupt (NMI). */ 591 #define VMX_EXIT_XCPT_ NMI0591 #define VMX_EXIT_XCPT_OR_NMI 0 592 592 /** 1 External interrupt. */ 593 593 #define VMX_EXIT_EXT_INT 1 -
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r47105 r47109 271 271 #endif 272 272 273 HMVMX_EXIT_DECL hmR0VmxExitXcpt Nmi(PVMCPU pVCpu, PCPUMCTX pMixedCtx, PVMXTRANSIENT pVmxTransient);273 HMVMX_EXIT_DECL hmR0VmxExitXcptOrNmi(PVMCPU pVCpu, PCPUMCTX pMixedCtx, PVMXTRANSIENT pVmxTransient); 274 274 HMVMX_EXIT_DECL hmR0VmxExitExtInt(PVMCPU pVCpu, PCPUMCTX pMixedCtx, PVMXTRANSIENT pVmxTransient); 275 275 HMVMX_EXIT_DECL hmR0VmxExitTripleFault(PVMCPU pVCpu, PCPUMCTX pMixedCtx, PVMXTRANSIENT pVmxTransient); … … 348 348 static const PFNVMEXITHANDLER g_apfnVMExitHandlers[VMX_EXIT_MAX + 1] = 349 349 { 350 /* 00 VMX_EXIT_XCPT_ NMI */ hmR0VmxExitXcptNmi,350 /* 00 VMX_EXIT_XCPT_OR_NMI */ hmR0VmxExitXcptOrNmi, 351 351 /* 01 VMX_EXIT_EXT_INT */ hmR0VmxExitExtInt, 352 352 /* 02 VMX_EXIT_TRIPLE_FAULT */ hmR0VmxExitTripleFault, … … 7200 7200 case VMX_EXIT_RDTSCP: rc = hmR0VmxExitRdtscp(pVCpu, pMixedCtx, pVmxTransient); break; 7201 7201 case VMX_EXIT_APIC_ACCESS: rc = hmR0VmxExitApicAccess(pVCpu, pMixedCtx, pVmxTransient); break; 7202 case VMX_EXIT_XCPT_NMI: rc = hmR0VmxExitXcpt Nmi(pVCpu, pMixedCtx, pVmxTransient); break;7202 case VMX_EXIT_XCPT_NMI: rc = hmR0VmxExitXcptOrNmi(pVCpu, pMixedCtx, pVmxTransient); break; 7203 7203 case VMX_EXIT_MOV_CRX: rc = hmR0VmxExitMovCRx(pVCpu, pMixedCtx, pVmxTransient); break; 7204 7204 case VMX_EXIT_EXT_INT: rc = hmR0VmxExitExtInt(pVCpu, pMixedCtx, pVmxTransient); break; … … 7348 7348 7349 7349 /** 7350 * VM-exit handler for exceptions and NMIs (VMX_EXIT_XCPT_NMI).7351 */ 7352 HMVMX_EXIT_DECL hmR0VmxExitXcpt Nmi(PVMCPU pVCpu, PCPUMCTX pMixedCtx, PVMXTRANSIENT pVmxTransient)7350 * VM-exit handler for exceptions or NMIs (VMX_EXIT_XCPT_OR_NMI). 7351 */ 7352 HMVMX_EXIT_DECL hmR0VmxExitXcptOrNmi(PVMCPU pVCpu, PCPUMCTX pMixedCtx, PVMXTRANSIENT pVmxTransient) 7353 7353 { 7354 7354 HMVMX_VALIDATE_EXIT_HANDLER_PARAMS(); -
trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp
r47090 r47109 3517 3517 switch (exitReason) 3518 3518 { 3519 case VMX_EXIT_XCPT_ NMI:/* 0 Exception or non-maskable interrupt (NMI). */3519 case VMX_EXIT_XCPT_OR_NMI: /* 0 Exception or non-maskable interrupt (NMI). */ 3520 3520 case VMX_EXIT_EXT_INT: /* 1 External interrupt. */ 3521 3521 { … … 4802 4802 switch (exitReason) 4803 4803 { 4804 case VMX_EXIT_XCPT_ NMI:/* 0 Exception or non-maskable interrupt (NMI). */4804 case VMX_EXIT_XCPT_OR_NMI: /* 0 Exception or non-maskable interrupt (NMI). */ 4805 4805 case VMX_EXIT_EXT_INT: /* 1 External interrupt. */ 4806 4806 case VMX_EXIT_EPT_VIOLATION: -
trunk/src/VBox/VMM/VMMR3/HM.cpp
r47094 r47109 62 62 static const char * const g_apszVTxExitReasons[MAX_EXITREASON_STAT] = 63 63 { 64 EXIT_REASON(VMX_EXIT_XCPT_ NMI, 0, "Exception or non-maskable interrupt (NMI)."),64 EXIT_REASON(VMX_EXIT_XCPT_OR_NMI , 0, "Exception or non-maskable interrupt (NMI)."), 65 65 EXIT_REASON(VMX_EXIT_EXT_INT , 1, "External interrupt."), 66 66 EXIT_REASON(VMX_EXIT_TRIPLE_FAULT , 2, "Triple fault."),
Note:
See TracChangeset
for help on using the changeset viewer.