Changeset 80542 in vbox
- Timestamp:
- Sep 2, 2019 7:56:13 AM (5 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
-
include/VBox/vmm/pdmapi.h (modified) (1 diff)
-
src/VBox/VMM/VMMR3/PDMDevice.cpp (modified) (1 diff)
-
src/VBox/VMM/VMMR3/PDMLdr.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/pdmapi.h
r80534 r80542 132 132 VMMR3DECL(int) PDMR3LdrEnumModules(PVM pVM, PFNPDMR3ENUM pfnCallback, void *pvArg); 133 133 VMMR3_INT_DECL(void) PDMR3LdrRelocateU(PUVM pUVM, RTGCINTPTR offDelta); 134 VMMR3_INT_DECL(int) PDMR3LdrLoadR0(PUVM pUVM, const char *pszModule );134 VMMR3_INT_DECL(int) PDMR3LdrLoadR0(PUVM pUVM, const char *pszModule, const char *pszSearchPath); 135 135 VMMR3_INT_DECL(int) PDMR3LdrGetSymbolR3(PVM pVM, const char *pszModule, const char *pszSymbol, void **ppvValue); 136 136 VMMR3DECL(int) PDMR3LdrGetSymbolR0(PVM pVM, const char *pszModule, const char *pszSymbol, PRTR0PTR ppvValue); -
trunk/src/VBox/VMM/VMMR3/PDMDevice.cpp
r80531 r80542 333 333 AssertLogRel(fR0Enabled /* not possible to just enabled raw-mode atm. */); 334 334 335 rc = PDMR3LdrLoadR0(pVM->pUVM, pReg->pszR0Mod );335 rc = PDMR3LdrLoadR0(pVM->pUVM, pReg->pszR0Mod, paDevs[i].pDev->pszR0SearchPath); 336 336 if (RT_FAILURE(rc)) 337 337 return VMR3SetError(pVM->pUVM, rc, RT_SRC_POS, "Failed to load ring-0 module '%s' for device '%s'", -
trunk/src/VBox/VMM/VMMR3/PDMLdr.cpp
r80533 r80542 744 744 * @param pUVM Pointer to the user mode VM structure. 745 745 * @param pszModule Module name (no path). 746 */ 747 VMMR3_INT_DECL(int) PDMR3LdrLoadR0(PUVM pUVM, const char *pszModule) 746 * @param pszSearchPath List of directories to search for the module 747 * (assumes @a pszModule is also a filename). 748 */ 749 VMMR3_INT_DECL(int) PDMR3LdrLoadR0(PUVM pUVM, const char *pszModule, const char *pszSearchPath) 748 750 { 749 751 /* … … 765 767 * Okay, load it. 766 768 */ 767 return pdmR3LoadR0U(pUVM, NULL, pszModule, NULL);769 return pdmR3LoadR0U(pUVM, NULL, pszModule, pszSearchPath); 768 770 } 769 771
Note:
See TracChangeset
for help on using the changeset viewer.

