Changeset 40829 in vbox
- Timestamp:
- Apr 8, 2012 7:22:23 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/recompiler/VBoxREMWrapper.cpp
r40442 r40829 409 409 { REMPARMDESC_FLAGS_INT, sizeof(size_t), NULL } 410 410 }; 411 static const REMPARMDESC g_aArgsSIZE_TTagLoc[] = 412 { 413 { REMPARMDESC_FLAGS_INT, sizeof(size_t), NULL }, 414 { REMPARMDESC_FLAGS_INT, sizeof(const char *), NULL }, 415 { REMPARMDESC_FLAGS_INT, sizeof(const char *), NULL }, 416 { REMPARMDESC_FLAGS_INT, sizeof(unsigned int), NULL }, 417 { REMPARMDESC_FLAGS_INT, sizeof(const char *), NULL } 418 }; 419 static const REMPARMDESC g_aArgsPTRLoc[] = 420 { 421 { REMPARMDESC_FLAGS_INT, sizeof(void *), NULL }, 422 { REMPARMDESC_FLAGS_INT, sizeof(const char *), NULL }, 423 { REMPARMDESC_FLAGS_INT, sizeof(unsigned int), NULL }, 424 { REMPARMDESC_FLAGS_INT, sizeof(const char *), NULL } 425 }; 411 426 static const REMPARMDESC g_aArgsVM[] = 412 427 { … … 876 891 { REMPARMDESC_FLAGS_INT, sizeof(void*), NULL }, 877 892 { REMPARMDESC_FLAGS_INT, sizeof(size_t), NULL }, 893 { REMPARMDESC_FLAGS_INT, sizeof(const char *), NULL } 894 }; 895 static const REMPARMDESC g_aArgsRTMemEfRealloc[] = 896 { 897 { REMPARMDESC_FLAGS_INT, sizeof(void*), NULL }, 898 { REMPARMDESC_FLAGS_INT, sizeof(size_t), NULL }, 899 { REMPARMDESC_FLAGS_INT, sizeof(const char *), NULL }, 900 { REMPARMDESC_FLAGS_INT, sizeof(const char *), NULL }, 901 { REMPARMDESC_FLAGS_INT, sizeof(unsigned int), NULL }, 878 902 { REMPARMDESC_FLAGS_INT, sizeof(const char *), NULL } 879 903 }; … … 1323 1347 { "RTMemPageFree", (void *)(uintptr_t)&RTMemPageFree, &g_aArgsPTR_SIZE_T[0], RT_ELEMENTS(g_aArgsPTR_SIZE_T), REMFNDESC_FLAGS_RET_VOID, 0, NULL }, 1324 1348 { "RTMemProtect", (void *)(uintptr_t)&RTMemProtect, &g_aArgsRTMemProtect[0], RT_ELEMENTS(g_aArgsRTMemProtect), REMFNDESC_FLAGS_RET_INT, sizeof(int), NULL }, 1349 { "RTMemEfAlloc", (void *)(uintptr_t)&RTMemEfAlloc, &g_aArgsSIZE_TTagLoc[0], RT_ELEMENTS(g_aArgsSIZE_TTagLoc), REMFNDESC_FLAGS_RET_INT, sizeof(void *), NULL }, 1350 { "RTMemEfAllocZ", (void *)(uintptr_t)&RTMemEfAllocZ, &g_aArgsSIZE_TTagLoc[0], RT_ELEMENTS(g_aArgsSIZE_TTagLoc), REMFNDESC_FLAGS_RET_INT, sizeof(void *), NULL }, 1351 { "RTMemEfRealloc", (void *)(uintptr_t)&RTMemEfRealloc, &g_aArgsRTMemEfRealloc[0], RT_ELEMENTS(g_aArgsRTMemEfRealloc), REMFNDESC_FLAGS_RET_INT, sizeof(void *), NULL }, 1352 { "RTMemEfFree", (void *)(uintptr_t)&RTMemEfFree, &g_aArgsPTRLoc[0], RT_ELEMENTS(g_aArgsPTRLoc), REMFNDESC_FLAGS_RET_VOID, 0, NULL }, 1325 1353 { "RTStrPrintf", (void *)(uintptr_t)&RTStrPrintf, &g_aArgsRTStrPrintf[0], RT_ELEMENTS(g_aArgsRTStrPrintf), REMFNDESC_FLAGS_RET_INT | REMFNDESC_FLAGS_ELLIPSIS, sizeof(size_t), NULL }, 1326 1354 { "RTStrPrintfV", (void *)(uintptr_t)&RTStrPrintfV, &g_aArgsRTStrPrintfV[0], RT_ELEMENTS(g_aArgsRTStrPrintfV), REMFNDESC_FLAGS_RET_INT | REMFNDESC_FLAGS_VALIST, sizeof(size_t), NULL },
Note:
See TracChangeset
for help on using the changeset viewer.