Changeset 13835 in vbox for trunk/src/recompiler/VBoxREMWrapper.cpp
- Timestamp:
- Nov 5, 2008 2:34:43 AM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 38826
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/recompiler/VBoxREMWrapper.cpp
r13791 r13835 1822 1822 strcpy(&szPath[offFilename], "/VBoxREM2.rel"); 1823 1823 rc = RTLdrOpen(szPath, &g_ModREM2); 1824 if ( VBOX_SUCCESS(rc))1824 if (RT_SUCCESS(rc)) 1825 1825 { 1826 1826 g_pvREM2 = RTMemExecAlloc(RTLdrSize(g_ModREM2)); … … 1834 1834 szPath, g_pvREM2, RTLdrSize(g_ModREM2), szPath, g_pvREM2)); 1835 1835 rc = RTLdrGetBits(g_ModREM2, g_pvREM2, (RTUINTPTR)g_pvREM2, remGetImport, NULL); 1836 if ( VBOX_SUCCESS(rc))1836 if (RT_SUCCESS(rc)) 1837 1837 { 1838 1838 /* … … 1845 1845 rc = RTLdrGetSymbolEx(g_ModREM2, g_pvREM2, (RTUINTPTR)g_pvREM2, g_aExports[i].pszName, &Value); 1846 1846 AssertMsgRC(rc, ("%s rc=%Vrc\n", g_aExports[i].pszName, rc)); 1847 if ( VBOX_FAILURE(rc))1847 if (RT_FAILURE(rc)) 1848 1848 break; 1849 1849 rc = remGenerateExportGlue(&Value, &g_aExports[i]); 1850 if ( VBOX_FAILURE(rc))1850 if (RT_FAILURE(rc)) 1851 1851 break; 1852 1852 *(void **)g_aExports[i].pv = (void *)(uintptr_t)Value; … … 1910 1910 { 1911 1911 int rc = remLoadLinuxObj(); 1912 if ( VBOX_FAILURE(rc))1912 if (RT_FAILURE(rc)) 1913 1913 return rc; 1914 1914 }
Note:
See TracChangeset
for help on using the changeset viewer.