Changeset 85129 in vbox for trunk/src/VBox/HostDrivers/Support/linux
- Timestamp:
- Jul 9, 2020 12:05:45 AM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 139069
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/linux/SUPLib-linux.cpp
r82968 r85129 76 76 77 77 78 intsuplibOsInit(PSUPLIBDATA pThis, bool fPreInited, bool fUnrestricted, SUPINITOP *penmWhat, PRTERRINFO pErrInfo)78 DECLHIDDEN(int) suplibOsInit(PSUPLIBDATA pThis, bool fPreInited, bool fUnrestricted, SUPINITOP *penmWhat, PRTERRINFO pErrInfo) 79 79 { 80 80 RT_NOREF2(penmWhat, pErrInfo); … … 146 146 147 147 148 intsuplibOsTerm(PSUPLIBDATA pThis)148 DECLHIDDEN(int) suplibOsTerm(PSUPLIBDATA pThis) 149 149 { 150 150 /* … … 164 164 #ifndef IN_SUP_HARDENED_R3 165 165 166 intsuplibOsInstall(void)166 DECLHIDDEN(int) suplibOsInstall(void) 167 167 { 168 168 // nothing to do on Linux … … 171 171 172 172 173 intsuplibOsUninstall(void)173 DECLHIDDEN(int) suplibOsUninstall(void) 174 174 { 175 175 // nothing to do on Linux … … 178 178 179 179 180 intsuplibOsIOCtl(PSUPLIBDATA pThis, uintptr_t uFunction, void *pvReq, size_t cbReq)180 DECLHIDDEN(int) suplibOsIOCtl(PSUPLIBDATA pThis, uintptr_t uFunction, void *pvReq, size_t cbReq) 181 181 { 182 182 AssertMsg(pThis->hDevice != (intptr_t)NIL_RTFILE, ("SUPLIB not initiated successfully!\n")); … … 208 208 209 209 210 intsuplibOsIOCtlFast(PSUPLIBDATA pThis, uintptr_t uFunction, uintptr_t idCpu)210 DECLHIDDEN(int) suplibOsIOCtlFast(PSUPLIBDATA pThis, uintptr_t uFunction, uintptr_t idCpu) 211 211 { 212 212 int rc = ioctl(pThis->hDevice, uFunction, idCpu); … … 217 217 218 218 219 intsuplibOsPageAlloc(PSUPLIBDATA pThis, size_t cPages, void **ppvPages)219 DECLHIDDEN(int) suplibOsPageAlloc(PSUPLIBDATA pThis, size_t cPages, void **ppvPages) 220 220 { 221 221 size_t cbMmap = (pThis->fSysMadviseWorks ? cPages : cPages + 2) << PAGE_SHIFT; … … 252 252 253 253 254 intsuplibOsPageFree(PSUPLIBDATA pThis, void *pvPages, size_t cPages)254 DECLHIDDEN(int) suplibOsPageFree(PSUPLIBDATA pThis, void *pvPages, size_t cPages) 255 255 { 256 256 NOREF(pThis); … … 269 269 * @param ppszWhy Where to return explanatory message. 270 270 */ 271 intsuplibOsQueryVTxSupported(const char **ppszWhy)271 DECLHIDDEN(int) suplibOsQueryVTxSupported(const char **ppszWhy) 272 272 { 273 273 char szBuf[256];
Note:
See TracChangeset
for help on using the changeset viewer.