Changeset 43391 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Sep 21, 2012 10:11:14 AM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 80869
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/EMHM.cpp
r43387 r43391 64 64 DECLINLINE(int) emR3ExecuteInstruction(PVM pVM, PVMCPU pVCpu, const char *pszPrefix, int rcGC = VINF_SUCCESS); 65 65 static int emR3ExecuteIOInstruction(PVM pVM, PVMCPU pVCpu); 66 static int emR3H waccmForcedActions(PVM pVM, PVMCPU pVCpu, PCPUMCTX pCtx);66 static int emR3HmForcedActions(PVM pVM, PVMCPU pVCpu, PCPUMCTX pCtx); 67 67 68 68 #define EMHANDLERC_WITH_HM … … 93 93 || VMCPU_FF_ISPENDING(pVCpu, VMCPU_FF_HIGH_PRIORITY_PRE_RAW_MASK)) 94 94 { 95 rc = emR3H waccmForcedActions(pVM, pVCpu, pCtx);95 rc = emR3HmForcedActions(pVM, pVCpu, pCtx); 96 96 if (rc != VINF_SUCCESS) 97 97 return rc; … … 123 123 */ 124 124 rc = emR3HighPriorityPostForcedActions(pVM, pVCpu, rc); 125 rc = emR3H waccmHandleRC(pVM, pVCpu, pCtx, rc);125 rc = emR3HmHandleRC(pVM, pVCpu, pCtx, rc); 126 126 return rc; 127 127 } … … 392 392 * @param pCtx Pointer to the guest CPU context. 393 393 */ 394 static int emR3H waccmForcedActions(PVM pVM, PVMCPU pVCpu, PCPUMCTX pCtx)394 static int emR3HmForcedActions(PVM pVM, PVMCPU pVCpu, PCPUMCTX pCtx) 395 395 { 396 396 /* … … 499 499 || VMCPU_FF_ISPENDING(pVCpu, VMCPU_FF_HIGH_PRIORITY_PRE_RAW_MASK)) 500 500 { 501 rc = emR3H waccmForcedActions(pVM, pVCpu, pCtx);501 rc = emR3HmForcedActions(pVM, pVCpu, pCtx); 502 502 if (rc != VINF_SUCCESS) 503 503 break; … … 568 568 break; 569 569 570 rc = emR3H waccmHandleRC(pVM, pVCpu, pCtx, rc);570 rc = emR3HmHandleRC(pVM, pVCpu, pCtx, rc); 571 571 if (rc != VINF_SUCCESS) 572 572 break; -
trunk/src/VBox/VMM/VMMR3/HM.cpp
r43387 r43391 1294 1294 if (pVM->hm.s.vmx.fUsePreemptTimer) 1295 1295 { 1296 PCFGMNODE pCfgH wAccM= CFGMR3GetChild(CFGMR3GetRoot(pVM), "HM");1297 int rc2 = CFGMR3QueryBoolDef(pCfgH wAccM, "UsePreemptTimer", &pVM->hm.s.vmx.fUsePreemptTimer, true);1296 PCFGMNODE pCfgHm = CFGMR3GetChild(CFGMR3GetRoot(pVM), "HM"); 1297 int rc2 = CFGMR3QueryBoolDef(pCfgHm, "UsePreemptTimer", &pVM->hm.s.vmx.fUsePreemptTimer, true); 1298 1298 AssertLogRelRC(rc2); 1299 1299 } -
trunk/src/VBox/VMM/VMMR3/VMMTests.cpp
r43387 r43391 469 469 470 470 /* execute the switch. */ 471 VMMR3DECL(int) VMMDoH wAccmTest(PVM pVM)471 VMMR3DECL(int) VMMDoHmTest(PVM pVM) 472 472 { 473 473 uint32_t i; -
trunk/src/VBox/VMM/include/EMHandleRCTmpl.h
r43387 r43391 1 1 /* $Id$ */ 2 2 /** @file 3 * EM - emR3[Raw|H waccm]HandleRC template.3 * EM - emR3[Raw|Hm]HandleRC template. 4 4 */ 5 5 … … 36 36 int emR3RawHandleRC(PVM pVM, PVMCPU pVCpu, PCPUMCTX pCtx, int rc) 37 37 #elif defined(EMHANDLERC_WITH_HM) 38 int emR3H waccmHandleRC(PVM pVM, PVMCPU pVCpu, PCPUMCTX pCtx, int rc)38 int emR3HmHandleRC(PVM pVM, PVMCPU pVCpu, PCPUMCTX pCtx, int rc) 39 39 #endif 40 40 { … … 336 336 #ifdef EMHANDLERC_WITH_HM 337 337 /* 338 * Up a level, after H wAccMhave done some release logging.338 * Up a level, after Hm have done some release logging. 339 339 */ 340 340 case VERR_VMX_INVALID_VMCS_FIELD: -
trunk/src/VBox/VMM/include/EMInternal.h
r41728 r43391 445 445 int emR3RawExecute(PVM pVM, PVMCPU pVCpu, bool *pfFFDone); 446 446 int emR3RawHandleRC(PVM pVM, PVMCPU pVCpu, PCPUMCTX pCtx, int rc); 447 int emR3H waccmHandleRC(PVM pVM, PVMCPU pVCpu, PCPUMCTX pCtx, int rc);447 int emR3HmHandleRC(PVM pVM, PVMCPU pVCpu, PCPUMCTX pCtx, int rc); 448 448 EMSTATE emR3Reschedule(PVM pVM, PVMCPU pVCpu, PCPUMCTX pCtx); 449 449 int emR3ForcedActions(PVM pVM, PVMCPU pVCpu, int rc); -
trunk/src/VBox/VMM/testcase/tstVMM-HM.cpp
r43387 r43391 34 34 * Defined Constants And Macros * 35 35 *******************************************************************************/ 36 #define TESTCASE "tstVMM-H wAccm"36 #define TESTCASE "tstVMM-Hm" 37 37 38 VMMR3DECL(int) VMMDoH wAccmTest(PVM pVM);38 VMMR3DECL(int) VMMDoHmTest(PVM pVM); 39 39 40 40 … … 76 76 TESTCASE ": causes kernel panics on linux regardless of what\n" 77 77 TESTCASE ": RTAssertDoBreakpoint returns. Only checked AMD-V on linux.\n"); 78 /** @todo Make tstVMM-H wAccm to cause kernel panics. */78 /** @todo Make tstVMM-Hm to cause kernel panics. */ 79 79 return 1; 80 80 … … 91 91 */ 92 92 RTPrintf(TESTCASE ": Testing...\n"); 93 rc = VMR3ReqCallWait(pVM, VMCPUID_ANY, (PFNRT)VMMDoH wAccmTest, 1, pVM);93 rc = VMR3ReqCallWait(pVM, VMCPUID_ANY, (PFNRT)VMMDoHmTest, 1, pVM); 94 94 AssertRC(rc); 95 95
Note:
See TracChangeset
for help on using the changeset viewer.