VirtualBox

Ignore:
Timestamp:
Sep 26, 2020 10:06:13 AM (4 years ago)
Author:
vboxsync
Message:

Runtime: Add API to load kernel modules by name and add simple implementation for macOS, bugref:9836 [build fix]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/solaris/krnlmod-solaris.cpp

    r86300 r86301  
    335335RTDECL(int) RTKrnlModLoadByPath(const char *pszPath)
    336336{
     337    AssertPtrReturn(pszPath, VERR_INVALID_PARAMETER);
     338
     339    return VERR_NOT_SUPPORTED;
     340}
     341
     342
     343RTDECL(int) RTKrnlModUnloadByName(const char *pszName)
     344{
    337345    AssertPtrReturn(pszName, VERR_INVALID_PARAMETER);
    338346
    339347    return VERR_NOT_SUPPORTED;
    340348}
    341 
    342 
    343 RTDECL(int) RTKrnlModUnloadByName(const char *pszName)
    344 {
    345     AssertPtrReturn(pszName, VERR_INVALID_PARAMETER);
    346 
    347     return VERR_NOT_SUPPORTED;
    348 }
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette