Changeset 19294 in vbox
- Timestamp:
- May 1, 2009 4:18:59 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/DBGFDisas.cpp
r19293 r19294 373 373 if (CPUMAreHiddenSelRegsValid(pVM)) 374 374 { /* Assume the current CS defines the execution mode. */ 375 pCtxCore = CPUMGetGuestCtxCore( VMMGetCpu(pVM)); /* @todo SMP support!! */375 pCtxCore = CPUMGetGuestCtxCore(pVCpu); 376 376 pHiddenSel = (CPUMSELREGHID *)&pCtxCore->csHid; 377 377 … … 540 540 AssertReturn(idCpu < pVM->cCPUs, VERR_INVALID_CPU_ID); 541 541 542 /* 543 * Optimize the common case where we're called on the EMT of idCpu since 544 * we're using this all the time when logging. 545 */ 542 546 int rc; 543 547 PVMCPU pVCpu = VMMGetCpu(pVM); 544 548 if ( pVCpu 545 && pVCpu->idCpu == idCpu) /* not necessary, but it's faster. */549 && pVCpu->idCpu == idCpu) 546 550 rc = dbgfR3DisasInstrExOnVCpu(pVM, pVCpu, Sel, &GCPtr, fFlags, pszOutput, cchOutput, pcbInstr); 547 551 else
Note:
See TracChangeset
for help on using the changeset viewer.