- Timestamp:
- Mar 28, 2008 1:51:20 PM (17 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PATM/CSAM.cpp
r5999 r7628 59 59 /* Enable to monitor all scanned pages 60 60 #define CSAM_MONITOR_CSAM_CODE_PAGES */ 61 /* Enable to scan beyond ret instructions. 61 /* Enable to scan beyond ret instructions. 62 62 #define CSAM_ANALYSE_BEYOND_RET */ 63 63 … … 173 173 STAM_REG(pVM, &pVM->csam.s.StatCheckGates, STAMTYPE_PROFILE, "/PROF/CSAM/CheckGates", STAMUNIT_TICKS_PER_CALL, "CSAMR3CheckGates overhead."); 174 174 175 /* 175 /* 176 176 * Check CFGM option and enable/disable CSAM. 177 177 */ … … 1195 1195 { 1196 1196 /* We need to parse 'call dword ptr [address]' type of calls to catch cpuid instructions in some recent Linux distributions (e.g. OpenSuse 10.3) */ 1197 if ( cpu.pCurInstr->opcode == OP_CALL 1197 if ( cpu.pCurInstr->opcode == OP_CALL 1198 1198 && cpu.param1.flags == USE_DISPLACEMENT32) 1199 1199 { … … 1922 1922 */ 1923 1923 Log(("CSAMCodePageWriteHandler: delayed write!\n")); 1924 AssertCompileSize(RTGCPTR, 4); 1924 1925 rc = VMR3ReqCallEx(pVM, NULL, 0, VMREQFLAGS_NO_WAIT | VMREQFLAGS_VOID, 1925 1926 (PFNRT)CSAMDelayedWriteHandler, 3, pVM, GCPtr, cbBuf); … … 2357 2358 continue; 2358 2359 } 2359 2360 2360 2361 2361 2362 if (pGuestIdte->Gen.u5Type2 == VBOX_IDTE_TYPE2_TRAP_32) -
trunk/src/VBox/VMM/PDMDevice.cpp
r7523 r7628 3158 3158 Log(("pdmR3DevHlp_PhysRead: caller='%s'/%d: Requesting call in EMT...\n", pDevIns->pDevReg->szDeviceName, pDevIns->iInstance)); 3159 3159 PVMREQ pReq; 3160 AssertCompileSize(RTGCPHYS, 4); 3160 3161 int rc = VMR3ReqCallVoid(pDevIns->Internal.s.pVMHC, &pReq, RT_INDEFINITE_WAIT, 3161 3162 (PFNRT)PGMPhysRead, 4, pDevIns->Internal.s.pVMHC, GCPhys, pvBuf, cbRead); … … 3190 3191 Log(("pdmR3DevHlp_PhysWrite: caller='%s'/%d: Requesting call in EMT...\n", pDevIns->pDevReg->szDeviceName, pDevIns->iInstance)); 3191 3192 PVMREQ pReq; 3193 AssertCompileSize(RTGCPHYS, 4); 3192 3194 int rc = VMR3ReqCallVoid(pDevIns->Internal.s.pVMHC, &pReq, RT_INDEFINITE_WAIT, 3193 3195 (PFNRT)PGMPhysWrite, 4, pDevIns->Internal.s.pVMHC, GCPhys, pvBuf, cbWrite);
Note:
See TracChangeset
for help on using the changeset viewer.