Changeset 13836 in vbox for trunk/src/recompiler_new
- Timestamp:
- Nov 5, 2008 2:42:54 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/recompiler_new/VBoxRecompiler.c
r13835 r13836 202 202 .cArgsMax = 1, 203 203 .paArgDescs = &g_aArgRemStep[0], 204 .cArgDescs = ELEMENTS(g_aArgRemStep),204 .cArgDescs = RT_ELEMENTS(g_aArgRemStep), 205 205 .pResultDesc = NULL, 206 206 .fFlags = 0, … … 325 325 if (!fRegisteredCmds) 326 326 { 327 int rc = DBGCRegisterCommands(&g_aCmds[0], ELEMENTS(g_aCmds));327 int rc = DBGCRegisterCommands(&g_aCmds[0], RT_ELEMENTS(g_aCmds)); 328 328 if (RT_SUCCESS(rc)) 329 329 fRegisteredCmds = true; … … 536 536 if (RT_FAILURE(rc)) 537 537 return rc; 538 if (pRem->cInvalidatedPages > ELEMENTS(pRem->aGCPtrInvalidatedPages))538 if (pRem->cInvalidatedPages > RT_ELEMENTS(pRem->aGCPtrInvalidatedPages)) 539 539 { 540 540 AssertMsgFailed(("cInvalidatedPages=%#x\n", pRem->cInvalidatedPages)); … … 4725 4725 { 4726 4726 default: 4727 if (uEAX < ELEMENTS(apsz))4727 if (uEAX < RT_ELEMENTS(apsz)) 4728 4728 Log(("REM: linux syscall %3d: %s (eip=%08x ebx=%08x ecx=%08x edx=%08x esi=%08x edi=%08x ebp=%08x)\n", 4729 4729 uEAX, apsz[uEAX], CPUMGetGuestEIP(pVM), CPUMGetGuestEBX(pVM), CPUMGetGuestECX(pVM), … … 5054 5054 { 5055 5055 default: 5056 if (uEAX < ELEMENTS(apsz))5056 if (uEAX < RT_ELEMENTS(apsz)) 5057 5057 { 5058 5058 uint32_t au32Args[8] = {0};
Note:
See TracChangeset
for help on using the changeset viewer.