- Timestamp:
- Feb 5, 2010 2:24:13 AM (15 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/CPUM.cpp
r26152 r26263 2005 2005 */ 2006 2006 /** @todo we should check the 64 bits capabilities too! */ 2007 uint32_t au32CpuId[8] = {0 };2007 uint32_t au32CpuId[8] = {0,0,0,0, 0,0,0,0}; 2008 2008 ASMCpuId(0, &au32CpuId[0], &au32CpuId[1], &au32CpuId[2], &au32CpuId[3]); 2009 2009 ASMCpuId(1, &au32CpuId[4], &au32CpuId[5], &au32CpuId[6], &au32CpuId[7]); -
trunk/src/VBox/VMM/PATM/CSAM.cpp
r25647 r26263 2294 2294 { 2295 2295 // Cache record for PATMGCVirtToHCVirt 2296 CSAMP2GLOOKUPREC cacheRec = {0}; 2296 CSAMP2GLOOKUPREC cacheRec; 2297 RT_ZERO(cacheRec); 2297 2298 2298 2299 STAM_PROFILE_START(&pVM->csam.s.StatTime, a); … … 2451 2452 if (pHandler) 2452 2453 { 2453 CSAMP2GLOOKUPREC cacheRec = {0}; /* Cache record for PATMGCVirtToHCVirt. */2454 2454 PCSAMPAGE pPage = NULL; 2455 CSAMP2GLOOKUPREC cacheRec; /* Cache record for PATMGCVirtToHCVirt. */ 2456 RT_ZERO(cacheRec); 2455 2457 2456 2458 Log(("CSAMCheckGates: checking previous call instruction %RRv\n", pHandler)); … … 2518 2520 { 2519 2521 RTRCPTR pHandler; 2520 CSAMP2GLOOKUPREC cacheRec = {0}; /* Cache record for PATMGCVirtToHCVirt. */2521 2522 PCSAMPAGE pPage = NULL; 2522 2523 DBGFSELINFO selInfo; 2524 CSAMP2GLOOKUPREC cacheRec; /* Cache record for PATMGCVirtToHCVirt. */ 2525 RT_ZERO(cacheRec); 2523 2526 2524 2527 pHandler = VBOXIDTE_OFFSET(*pGuestIdte); -
trunk/src/VBox/VMM/PATM/PATM.cpp
r26152 r26263 5102 5102 { 5103 5103 #ifdef PATM_RESOLVE_CONFLICTS_WITH_JUMP_PATCHES 5104 PATCHINFO patch = {0};5104 PATCHINFO patch; 5105 5105 DISCPUSTATE cpu; 5106 5106 R3PTRTYPE(uint8_t *) pInstrHC; … … 5109 5109 int rc; 5110 5110 5111 RT_ZERO(patch); 5111 5112 pInstrHC = PATMGCVirtToHCVirt(pVM, &patch, pInstrGC); 5112 5113 cpu.mode = (pConflictPatch->flags & PATMFL_CODE32) ? CPUMODE_32BIT : CPUMODE_16BIT; -
trunk/src/VBox/VMM/TRPM.cpp
r25825 r26263 594 594 * exports in TRPMR3Init(). 595 595 */ 596 RTRCPTR aRCPtrs[TRPM_HANDLER_MAX] = {0};597 int rc;598 rc = PDMR3LdrGetSymbolRC(pVM, VMMGC_MAIN_MODULE_NAME, "TRPMGCHandlerInterupt", &aRCPtrs[TRPM_HANDLER_INT]);596 RTRCPTR aRCPtrs[TRPM_HANDLER_MAX]; 597 RT_ZERO(aRCPtrs); 598 int rc = PDMR3LdrGetSymbolRC(pVM, VMMGC_MAIN_MODULE_NAME, "TRPMGCHandlerInterupt", &aRCPtrs[TRPM_HANDLER_INT]); 599 599 AssertReleaseMsgRC(rc, ("Couldn't find TRPMGCHandlerInterupt in VMMGC.gc!\n")); 600 600 -
trunk/src/VBox/VMM/VMMAll/TRPMAll.cpp
r25866 r26263 493 493 if (rc == VINF_SUCCESS) 494 494 { 495 VBOXGDTR gdtr = {0 };495 VBOXGDTR gdtr = {0, 0}; 496 496 bool fConforming = false; 497 497 int idx = 0;
Note:
See TracChangeset
for help on using the changeset viewer.