VirtualBox

Ignore:
Timestamp:
Feb 10, 2021 8:21:04 PM (4 years ago)
Author:
vboxsync
Message:

SUPDrv,++: Experimental support for wrapping .r0 modules in native kernel modules on linux, so that perf and similar tools work better. Minor IOC version increase as SUP_IOCTL_LDR_OPEN now support just opening a module w/o preparing the loading. SUPDrv must export all the symbols in g_aFunctions the linux way now, or linux won't see them, so introduced a SUPR0_EXPORT_SYMBOL macro similar to RT_EXPORT_SYMBOL. bugref:9937

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/freebsd/SUPDrv-freebsd.c

    r77107 r87700  
    600600
    601601
     602void VBOXCALL   supdrvOSLdrRetainWrapperModule(PSUPDRVDEVEXT pDevExt, PSUPDRVLDRIMAGE pImage)
     603{
     604    RT_NOREF(pDevExt, pImage);
     605    AssertFailed();
     606}
     607
     608
     609void VBOXCALL   supdrvOSLdrReleaseWrapperModule(PSUPDRVDEVEXT pDevExt, PSUPDRVLDRIMAGE pImage)
     610{
     611    RT_NOREF(pDevExt, pImage);
     612    AssertFailed();
     613}
     614
    602615#ifdef SUPDRV_WITH_MSR_PROBER
    603616
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