Changeset 28317 in vbox for trunk/src/recompiler
- Timestamp:
- Apr 14, 2010 6:06:05 PM (15 years ago)
- Location:
- trunk/src/recompiler
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/recompiler/VBoxREMWrapper.cpp
r27254 r28317 1090 1090 { REMPARMDESC_FLAGS_INT, sizeof(size_t), NULL }, 1091 1091 { REMPARMDESC_FLAGS_INT, sizeof(unsigned), NULL } 1092 }; 1093 static const REMPARMDESC g_aArgsRTMemFree[] = 1094 { 1095 { REMPARMDESC_FLAGS_INT, sizeof(void *), NULL }, 1096 { REMPARMDESC_FLAGS_INT, sizeof(size_t), NULL } 1092 1097 }; 1093 1098 static const REMPARMDESC g_aArgsRTStrPrintf[] = … … 1327 1332 { "RTMemFree", (void *)(uintptr_t)&RTMemFree, &g_aArgsPTR[0], RT_ELEMENTS(g_aArgsPTR), REMFNDESC_FLAGS_RET_VOID, 0, NULL }, 1328 1333 { "RTMemPageAlloc", (void *)(uintptr_t)&RTMemPageAlloc, &g_aArgsSIZE_T[0], RT_ELEMENTS(g_aArgsSIZE_T), REMFNDESC_FLAGS_RET_INT, sizeof(void *), NULL }, 1329 { "RTMemPageFree", (void *)(uintptr_t)&RTMemPageFree, &g_aArgs PTR[0], RT_ELEMENTS(g_aArgsPTR),REMFNDESC_FLAGS_RET_VOID, 0, NULL },1334 { "RTMemPageFree", (void *)(uintptr_t)&RTMemPageFree, &g_aArgsRTMemProtect[0], RT_ELEMENTS(g_aArgsRTMemProtect), REMFNDESC_FLAGS_RET_VOID, 0, NULL }, 1330 1335 { "RTMemProtect", (void *)(uintptr_t)&RTMemProtect, &g_aArgsRTMemProtect[0], RT_ELEMENTS(g_aArgsRTMemProtect), REMFNDESC_FLAGS_RET_INT, sizeof(int), NULL }, 1331 1336 { "RTStrPrintf", (void *)(uintptr_t)&RTStrPrintf, &g_aArgsRTStrPrintf[0], RT_ELEMENTS(g_aArgsRTStrPrintf), REMFNDESC_FLAGS_RET_INT | REMFNDESC_FLAGS_ELLIPSIS, sizeof(size_t), NULL }, -
trunk/src/recompiler/VBoxRecompiler.c
r27254 r28317 513 513 if (RT_FAILURE(rc)) 514 514 { 515 RTMemPageFree(phys_ram_dirty );515 RTMemPageFree(phys_ram_dirty, cbBitmapFull); 516 516 AssertLogRelRCReturn(rc, rc); 517 517 } -
trunk/src/recompiler/osdep.h
r17274 r28317 21 21 #endif 22 22 #define qemu_vsnprintf(pszBuf, cbBuf, pszFormat, args) \ 23 RTStrPrintfV((pszBuf), (cbBuf), (pszFormat), (args))23 RTStrPrintfV((pszBuf), (cbBuf), (pszFormat), (args)) 24 24 #define qemu_vprintf(pszFormat, args) \ 25 RTLogPrintfV((pszFormat), (args))26 #define qemu_printf RTLogPrintf27 #define qemu_malloc(cb) RTMemAlloc(cb)28 #define qemu_mallocz(cb) RTMemAllocZ(cb)29 #define qemu_realloc(ptr, cb) RTMemRealloc(ptr, cb)25 RTLogPrintfV((pszFormat), (args)) 26 #define qemu_printf RTLogPrintf 27 #define qemu_malloc(cb) RTMemAlloc(cb) 28 #define qemu_mallocz(cb) RTMemAllocZ(cb) 29 #define qemu_realloc(ptr, cb) RTMemRealloc(ptr, cb) 30 30 31 #define qemu_free(pv) RTMemFree(pv)32 #define qemu_strdup(psz) RTStrDup(psz)31 #define qemu_free(pv) RTMemFree(pv) 32 #define qemu_strdup(psz) RTStrDup(psz) 33 33 34 #define qemu_vmalloc(cb) RTMemPageAlloc(cb)35 #define qemu_vfree(pv) RTMemPageFree(pv)34 #define qemu_vmalloc(cb) RTMemPageAlloc(cb) 35 #define qemu_vfree(pv) RTMemPageFree(pv, ???) 36 36 37 37 #ifndef NULL
Note:
See TracChangeset
for help on using the changeset viewer.