diff options
author | vboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f> | 2021-02-10 20:21:04 +0000 |
---|---|---|
committer | vboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f> | 2021-02-10 20:21:04 +0000 |
commit | 5ccfb6d44d3934b4244e86133ec1fa4582f63b97 (patch) | |
tree | 39940d715ecebcda16a39e960ab7e1e74d073d8b /src/VBox/HostDrivers/Support/SUPDrvGip.cpp | |
parent | b379afdd0e2207e449bbc7a04e6114cd7b79315a (diff) | |
download | VirtualBox-svn-5ccfb6d44d3934b4244e86133ec1fa4582f63b97.tar.gz |
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
git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@87700 cfe28804-0f27-0410-a406-dd0f0b0b656f
Diffstat (limited to 'src/VBox/HostDrivers/Support/SUPDrvGip.cpp')
-rw-r--r-- | src/VBox/HostDrivers/Support/SUPDrvGip.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/VBox/HostDrivers/Support/SUPDrvGip.cpp b/src/VBox/HostDrivers/Support/SUPDrvGip.cpp index 9e2556d7ee1..6062a10c45b 100644 --- a/src/VBox/HostDrivers/Support/SUPDrvGip.cpp +++ b/src/VBox/HostDrivers/Support/SUPDrvGip.cpp @@ -142,6 +142,7 @@ static int supdrvTscMeasureDeltaOne(PSUPDRVDEVEXT pDevExt, uint * Global Variables * *********************************************************************************************************************************/ DECLEXPORT(PSUPGLOBALINFOPAGE) g_pSUPGlobalInfoPage = NULL; +SUPR0_EXPORT_SYMBOL(g_pSUPGlobalInfoPage); @@ -750,6 +751,7 @@ SUPR0DECL(int) SUPR0GipMap(PSUPDRVSESSION pSession, PRTR3PTR ppGipR3, PRTHCPHYS #endif return rc; } +SUPR0_EXPORT_SYMBOL(SUPR0GipMap); /** @@ -825,6 +827,7 @@ SUPR0DECL(int) SUPR0GipUnmap(PSUPDRVSESSION pSession) return rc; } +SUPR0_EXPORT_SYMBOL(SUPR0GipUnmap); /** @@ -4827,6 +4830,7 @@ SUPR0DECL(int) SUPR0TscDeltaMeasureBySetIndex(PSUPDRVSESSION pSession, uint32_t return rc; } +SUPR0_EXPORT_SYMBOL(SUPR0TscDeltaMeasureBySetIndex); /** |