Changeset 2901 in vbox
- Timestamp:
- May 29, 2007 9:42:37 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/recompiler/VBoxREMWrapper.cpp
r2891 r2901 163 163 164 164 /** @def USE_REM_IMPORT_JUMP_GLUE 165 * Define USE_REM_IMPORT_JUMP_GLUE for platforms where we need to 165 * Define USE_REM_IMPORT_JUMP_GLUE for platforms where we need to 166 166 * emit some jump glue to deal with big addresses. 167 167 */ … … 1077 1077 1078 1078 1079 # if defined(USE_REM_CALLING_CONVENTION_GLUE) || defined(USE_REM_IMPORT_JUMP_GLUE) 1079 # if defined(USE_REM_CALLING_CONVENTION_GLUE) || defined(USE_REM_IMPORT_JUMP_GLUE) 1080 1080 /** LIFO of read-write-executable memory chunks used for wrappers. */ 1081 1081 static PREMEXECMEM g_pExecMemHead; … … 1115 1115 1116 1116 1117 # if defined(USE_REM_CALLING_CONVENTION_GLUE) || defined(USE_REM_IMPORT_JUMP_GLUE) 1117 # if defined(USE_REM_CALLING_CONVENTION_GLUE) || defined(USE_REM_IMPORT_JUMP_GLUE) 1118 1118 /** 1119 1119 * Allocates a block of memory for glue code. … … 1398 1398 static int remGenerateImportGlue(PRTUINTPTR pValue, PREMFNDESC pDesc) 1399 1399 { 1400 # if defined(USE_REM_CALLING_CONVENTION_GLUE) || defined(USE_REM_IMPORT_JUMP_GLUE) 1400 # if defined(USE_REM_CALLING_CONVENTION_GLUE) || defined(USE_REM_IMPORT_JUMP_GLUE) 1401 1401 if (!pDesc->pvWrapper) 1402 1402 { … … 1550 1550 #ifdef DEBUG /* How to load the VBoxREM2.rel symbols into the GNU debugger. */ 1551 1551 RTPrintf("VBoxREMWrapper: (gdb) add-symbol-file %s 0x%p\n", szPath, g_pvREM2); 1552 #endif 1553 Log (("Loading %s at 0x%p (%d bytes)\n"1554 "(gdb) add-symbol-file %s 0x%p\n",1555 szPath, g_pvREM2, RTLdrSize(g_ModREM2), szPath, g_pvREM2));1552 #endif 1553 LogRel(("REM: Loading %s at 0x%p (%d bytes)\n" 1554 "REM: (gdb) add-symbol-file %s 0x%p\n", 1555 szPath, g_pvREM2, RTLdrSize(g_ModREM2), szPath, g_pvREM2)); 1556 1556 rc = RTLdrGetBits(g_ModREM2, g_pvREM2, (RTUINTPTR)g_pvREM2, remGetImport, NULL); 1557 1557 if (VBOX_SUCCESS(rc)) … … 1601 1601 for (i = 0; i < ELEMENTS(g_aExports); i++) 1602 1602 *(void **)g_aExports[i].pv = NULL; 1603 # if defined(USE_REM_CALLING_CONVENTION_GLUE) || defined(USE_REM_IMPORT_JUMP_GLUE) 1603 # if defined(USE_REM_CALLING_CONVENTION_GLUE) || defined(USE_REM_IMPORT_JUMP_GLUE) 1604 1604 for (i = 0; i < ELEMENTS(g_aVMMImports); i++) 1605 1605 g_aVMMImports[i].pvWrapper = NULL;
Note:
See TracChangeset
for help on using the changeset viewer.