- Timestamp:
- Jun 20, 2007 10:48:41 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/SUPLib.cpp
r2981 r3177 1021 1021 pszSymbol += sizeof("SUPR0$") - 1; 1022 1022 1023 /* 1024 * Check the VMMR0.r0 module if loaded. 1025 */ 1026 /** @todo call the SUPLoadModule caller.... */ 1027 /** @todo proper reference counting and such. */ 1028 if (g_pvVMMR0 != NIL_RTR0PTR) 1029 { 1030 void *pvValue; 1031 if (!SUPGetSymbolR0((void *)g_pvVMMR0, pszSymbol, &pvValue)) 1032 { 1033 *pValue = (uintptr_t)pvValue; 1034 return VINF_SUCCESS; 1035 } 1036 } 1037 1023 1038 /* iterate the function table. */ 1024 1039 int c = g_pFunctions->cFunctions; … … 1032 1047 } 1033 1048 pFunc++; 1034 }1035 1036 /*1037 * Check the VMMR0.r0 module if loaded.1038 */1039 /** @todo call the SUPLoadModule caller.... */1040 /** @todo proper reference counting and such. */1041 if (g_pvVMMR0 != NIL_RTR0PTR)1042 {1043 void *pvValue;1044 if (!SUPGetSymbolR0((void *)g_pvVMMR0, pszSymbol, &pvValue))1045 {1046 *pValue = (uintptr_t)pvValue;1047 return VINF_SUCCESS;1048 }1049 1049 } 1050 1050
Note:
See TracChangeset
for help on using the changeset viewer.