Changeset 138 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Jan 18, 2007 2:59:18 PM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 17589
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAllHandler.cpp
r23 r138 1061 1061 if (Cpu.mode == CPUMODE_32BIT) 1062 1062 { 1063 uint8_t *pu8Code;1064 int rc = SELMValidateAndConvertCSAddr(pVM, pRegFrame->ss, pRegFrame->cs, &pRegFrame->csHid, (RTGCPTR)pRegFrame->eip, (PRTGCPTR)&pu8Code);1063 RTGCPTR GCPtrCode; 1064 int rc = SELMValidateAndConvertCSAddr(pVM, pRegFrame->ss, pRegFrame->cs, &pRegFrame->csHid, (RTGCPTR)pRegFrame->eip, &GCPtrCode); 1065 1065 if (VBOX_SUCCESS(rc)) 1066 1066 { 1067 1067 uint32_t cbOp; 1068 rc = pgmDisCoreOne(pVM, &Cpu, (RTGCUINTPTR) pu8Code, &cbOp);1068 rc = pgmDisCoreOne(pVM, &Cpu, (RTGCUINTPTR)GCPtrCode, &cbOp); 1069 1069 if (VBOX_SUCCESS(rc)) 1070 1070 { -
trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp
r23 r138 255 255 { 256 256 int rc; 257 uint32_t iGate = VMX_EXIT_INTERRUPTION_INFO_VECTOR(intInfo);258 257 259 258 #ifdef VBOX_STRICT 259 uint32_t iGate = VMX_EXIT_INTERRUPTION_INFO_VECTOR(intInfo); 260 260 if (iGate == 0xE) 261 261 Log2(("VMXR0InjectEvent: Injecting interrupt %d at %VGv error code=%08x CR2=%08x intInfo=%08x\n", iGate, pCtx->eip, errCode, pCtx->cr2, intInfo)); … … 481 481 rc |= VMXWriteVMCS(VMX_VMCS_HOST_GS_BASE, 0); 482 482 #else 483 rc = VMXWriteVMCS64(VMX_VMCS_HOST_FS_BASE, ASMRdMsr(MSR_ IA32_FS_BASE));484 rc |= VMXWriteVMCS64(VMX_VMCS_HOST_GS_BASE, ASMRdMsr(MSR_ IA32_GS_BASE));483 rc = VMXWriteVMCS64(VMX_VMCS_HOST_FS_BASE, ASMRdMsr(MSR_K8_FS_BASE)); 484 rc |= VMXWriteVMCS64(VMX_VMCS_HOST_GS_BASE, ASMRdMsr(MSR_K8_GS_BASE)); 485 485 #endif 486 486 AssertRC(rc); … … 764 764 { 765 765 int rc = VINF_SUCCESS; 766 RTGCUINTPTR val, valShadow; 767 RTGCUINTPTR exitReason, instrError, cbInstr, exitQualification; 768 RTGCUINTPTR intInfo, errCode, instrInfo, uInterruptState; 766 RTCCUINTREG val, valShadow; 767 RTCCUINTREG exitReason, instrError, cbInstr; 768 RTGCUINTPTR exitQualification; 769 RTGCUINTPTR intInfo = 0; /* shut up buggy gcc 4 */ 770 RTGCUINTPTR errCode, instrInfo, uInterruptState; 769 771 770 772 Log2(("\nE"));
Note:
See TracChangeset
for help on using the changeset viewer.