Changeset 13836 in vbox for trunk/src/recompiler/VBoxRecompiler.c
- Timestamp:
- Nov 5, 2008 2:42:54 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/recompiler/VBoxRecompiler.c
r13835 r13836 203 203 .cArgsMax = 1, 204 204 .paArgDescs = &g_aArgRemStep[0], 205 .cArgDescs = ELEMENTS(g_aArgRemStep),205 .cArgDescs = RT_ELEMENTS(g_aArgRemStep), 206 206 .pResultDesc = NULL, 207 207 .fFlags = 0, … … 335 335 if (!fRegisteredCmds) 336 336 { 337 int rc = DBGCRegisterCommands(&g_aCmds[0], ELEMENTS(g_aCmds));337 int rc = DBGCRegisterCommands(&g_aCmds[0], RT_ELEMENTS(g_aCmds)); 338 338 if (RT_SUCCESS(rc)) 339 339 fRegisteredCmds = true; … … 547 547 if (RT_FAILURE(rc)) 548 548 return rc; 549 if (pRem->cInvalidatedPages > ELEMENTS(pRem->aGCPtrInvalidatedPages))549 if (pRem->cInvalidatedPages > RT_ELEMENTS(pRem->aGCPtrInvalidatedPages)) 550 550 { 551 551 AssertMsgFailed(("cInvalidatedPages=%#x\n", pRem->cInvalidatedPages)); … … 4643 4643 { 4644 4644 default: 4645 if (uEAX < ELEMENTS(apsz))4645 if (uEAX < RT_ELEMENTS(apsz)) 4646 4646 Log(("REM: linux syscall %3d: %s (eip=%08x ebx=%08x ecx=%08x edx=%08x esi=%08x edi=%08x ebp=%08x)\n", 4647 4647 uEAX, apsz[uEAX], CPUMGetGuestEIP(pVM), CPUMGetGuestEBX(pVM), CPUMGetGuestECX(pVM), … … 4972 4972 { 4973 4973 default: 4974 if (uEAX < ELEMENTS(apsz))4974 if (uEAX < RT_ELEMENTS(apsz)) 4975 4975 { 4976 4976 uint32_t au32Args[8] = {0};
Note:
See TracChangeset
for help on using the changeset viewer.