Changeset 41939 in vbox for trunk/src/VBox/VMM/VMMR3
- Timestamp:
- Jun 27, 2012 11:59:46 PM (12 years ago)
- Location:
- trunk/src/VBox/VMM/VMMR3
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/CPUM.cpp
r41931 r41939 4149 4149 * Get the CPL first. 4150 4150 */ 4151 *puCpl = CPUMGetGuestCPL(pVCpu , CPUMCTX2CORE(&pVCpu->cpum.s.Guest));4151 *puCpl = CPUMGetGuestCPL(pVCpu); 4152 4152 4153 4153 /* -
trunk/src/VBox/VMM/VMMR3/EM.cpp
r41906 r41939 962 962 #ifdef LOG_ENABLED 963 963 PCPUMCTX pCtx = pVCpu->em.s.pCtx; 964 uint32_t cpl = CPUMGetGuestCPL(pVCpu , CPUMCTX2CORE(pCtx));964 uint32_t cpl = CPUMGetGuestCPL(pVCpu); 965 965 966 966 if (pCtx->eflags.Bits.u1VM) -
trunk/src/VBox/VMM/VMMR3/EMHwaccm.cpp
r41906 r41939 511 511 Log(("CPU%d: Pending hardware interrupt=0x%x cs:rip=%04X:%RGv\n", pVCpu->idCpu, TRPMGetTrapNo(pVCpu), pCtx->cs.Sel, (RTGCPTR)pCtx->rip)); 512 512 513 uint32_t cpl = CPUMGetGuestCPL(pVCpu , CPUMCTX2CORE(pCtx));513 uint32_t cpl = CPUMGetGuestCPL(pVCpu); 514 514 515 515 if (pVM->cCpus == 1) -
trunk/src/VBox/VMM/VMMR3/EMRaw.cpp
r41906 r41939 534 534 * instead. One example is #DE. 535 535 */ 536 uint32_t uCpl = CPUMGetGuestCPL(pVCpu , CPUMCTX2CORE(pCtx));536 uint32_t uCpl = CPUMGetGuestCPL(pVCpu); 537 537 if ( uCpl == 0 538 538 && PATMIsPatchGCAddr(pVM, pCtx->eip)) -
trunk/src/VBox/VMM/VMMR3/PATM.cpp
r41906 r41939 4083 4083 /* Make sure the code selector is wide open; otherwise refuse. */ 4084 4084 pCtx = CPUMQueryGuestCtxPtr(pVCpu); 4085 if (CPUMGetGuestCPL(pVCpu , CPUMCTX2CORE(pCtx)) == 0)4085 if (CPUMGetGuestCPL(pVCpu) == 0) 4086 4086 { 4087 4087 RTRCPTR pInstrGCFlat = SELMToFlat(pVM, DISSELREG_CS, CPUMCTX2CORE(pCtx), pInstrGC);
Note:
See TracChangeset
for help on using the changeset viewer.