Changeset 31160 in vbox
- Timestamp:
- Jul 28, 2010 3:35:43 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/recompiler/VBoxREMWrapper.cpp
r30862 r31160 392 392 { REMPARMDESC_FLAGS_INT, sizeof(void *), NULL } 393 393 }; 394 static const REMPARMDESC g_aArgsSIZE_TTag[] = 395 { 396 { REMPARMDESC_FLAGS_INT, sizeof(size_t), NULL }, 397 { REMPARMDESC_FLAGS_INT, sizeof(const char *), NULL } 398 }; 399 static const REMPARMDESC g_aArgsPTRTag[] = 400 { 401 { REMPARMDESC_FLAGS_INT, sizeof(void *), NULL }, 402 { REMPARMDESC_FLAGS_INT, sizeof(const char *), NULL } 403 }; 394 404 static const REMPARMDESC g_aArgsVM[] = 395 405 { … … 862 872 { REMPARMDESC_FLAGS_INT, sizeof(uint64_t), NULL } 863 873 }; 864 static const REMPARMDESC g_aArgsRTMemRealloc [] =874 static const REMPARMDESC g_aArgsRTMemReallocTag[] = 865 875 { 866 876 { REMPARMDESC_FLAGS_INT, sizeof(void*), NULL }, 867 { REMPARMDESC_FLAGS_INT, sizeof(size_t), NULL } 877 { REMPARMDESC_FLAGS_INT, sizeof(size_t), NULL }, 878 { REMPARMDESC_FLAGS_INT, sizeof(const char *), NULL } 868 879 }; 869 880 static const REMPARMDESC g_aArgsSSMR3GetGCPtr[] = … … 1075 1086 { REMPARMDESC_FLAGS_INT, sizeof(unsigned), NULL } 1076 1087 }; 1077 static const REMPARMDESC g_aArgsRTMem Free[] =1088 static const REMPARMDESC g_aArgsRTMemPageFree[] = 1078 1089 { 1079 1090 { REMPARMDESC_FLAGS_INT, sizeof(void *), NULL }, … … 1305 1316 { "RTLogPrintf", (void *)(uintptr_t)&RTLogPrintf, &g_aArgsRTLogPrintf[0], RT_ELEMENTS(g_aArgsRTLogPrintf), REMFNDESC_FLAGS_RET_VOID, 0, NULL }, 1306 1317 { "RTLogRelPrintf", (void *)(uintptr_t)&RTLogRelPrintf, &g_aArgsRTLogPrintf[0], RT_ELEMENTS(g_aArgsRTLogPrintf), REMFNDESC_FLAGS_RET_VOID, 0, NULL }, 1307 { "RTMemAlloc ", (void *)(uintptr_t)&RTMemAlloc, &g_aArgsSIZE_T[0], RT_ELEMENTS(g_aArgsSIZE_T),REMFNDESC_FLAGS_RET_INT, sizeof(void *), NULL },1308 { "RTMemAllocZ ", (void *)(uintptr_t)&RTMemAllocZ, &g_aArgsSIZE_T[0], RT_ELEMENTS(g_aArgsSIZE_T),REMFNDESC_FLAGS_RET_INT, sizeof(void *), NULL },1309 { "RTMemRealloc ", (void *)(uintptr_t)&RTMemRealloc, &g_aArgsRTMemRealloc[0], RT_ELEMENTS(g_aArgsRTMemRealloc),REMFNDESC_FLAGS_RET_INT, sizeof(void *), NULL },1310 { "RTMemExecAlloc ", (void *)(uintptr_t)&RTMemExecAlloc, &g_aArgsSIZE_T[0], RT_ELEMENTS(g_aArgsSIZE_T),REMFNDESC_FLAGS_RET_INT, sizeof(void *), NULL },1311 { "RTMemExecFree ", (void *)(uintptr_t)&RTMemExecFree, &g_aArgsPTR[0], RT_ELEMENTS(g_aArgsPTR),REMFNDESC_FLAGS_RET_VOID, 0, NULL },1318 { "RTMemAllocTag", (void *)(uintptr_t)&RTMemAllocTag, &g_aArgsSIZE_TTag[0], RT_ELEMENTS(g_aArgsSIZE_TTag), REMFNDESC_FLAGS_RET_INT, sizeof(void *), NULL }, 1319 { "RTMemAllocZTag", (void *)(uintptr_t)&RTMemAllocZTag, &g_aArgsSIZE_TTag[0], RT_ELEMENTS(g_aArgsSIZE_TTag), REMFNDESC_FLAGS_RET_INT, sizeof(void *), NULL }, 1320 { "RTMemReallocTag", (void *)(uintptr_t)&RTMemReallocTag, &g_aArgsRTMemReallocTag[0], RT_ELEMENTS(g_aArgsRTMemReallocTag), REMFNDESC_FLAGS_RET_INT, sizeof(void *), NULL }, 1321 { "RTMemExecAllocTag", (void *)(uintptr_t)&RTMemExecAllocTag, &g_aArgsSIZE_TTag[0], RT_ELEMENTS(g_aArgsSIZE_TTag), REMFNDESC_FLAGS_RET_INT, sizeof(void *), NULL }, 1322 { "RTMemExecFreeTag", (void *)(uintptr_t)&RTMemExecFreeTag, &g_aArgsPTRTag[0], RT_ELEMENTS(g_aArgsPTRTag), REMFNDESC_FLAGS_RET_VOID, 0, NULL }, 1312 1323 { "RTMemFree", (void *)(uintptr_t)&RTMemFree, &g_aArgsPTR[0], RT_ELEMENTS(g_aArgsPTR), REMFNDESC_FLAGS_RET_VOID, 0, NULL }, 1313 { "RTMemPageAlloc ", (void *)(uintptr_t)&RTMemPageAlloc, &g_aArgsSIZE_T[0], RT_ELEMENTS(g_aArgsSIZE_T),REMFNDESC_FLAGS_RET_INT, sizeof(void *), NULL },1314 { "RTMemPageFree", (void *)(uintptr_t)&RTMemPageFree, &g_aArgsRTMemP rotect[0], RT_ELEMENTS(g_aArgsRTMemProtect),REMFNDESC_FLAGS_RET_VOID, 0, NULL },1324 { "RTMemPageAllocTag", (void *)(uintptr_t)&RTMemPageAllocTag, &g_aArgsSIZE_TTag[0], RT_ELEMENTS(g_aArgsSIZE_TTag), REMFNDESC_FLAGS_RET_INT, sizeof(void *), NULL }, 1325 { "RTMemPageFree", (void *)(uintptr_t)&RTMemPageFree, &g_aArgsRTMemPageFree[0], RT_ELEMENTS(g_aArgsRTMemPageFree), REMFNDESC_FLAGS_RET_VOID, 0, NULL }, 1315 1326 { "RTMemProtect", (void *)(uintptr_t)&RTMemProtect, &g_aArgsRTMemProtect[0], RT_ELEMENTS(g_aArgsRTMemProtect), REMFNDESC_FLAGS_RET_INT, sizeof(int), NULL }, 1316 1327 { "RTStrPrintf", (void *)(uintptr_t)&RTStrPrintf, &g_aArgsRTStrPrintf[0], RT_ELEMENTS(g_aArgsRTStrPrintf), REMFNDESC_FLAGS_RET_INT | REMFNDESC_FLAGS_ELLIPSIS, sizeof(size_t), NULL },
Note:
See TracChangeset
for help on using the changeset viewer.