Changeset 49529 in vbox for trunk/src/VBox/Additions/common/VBoxGuest
- Timestamp:
- Nov 18, 2013 1:05:36 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-haiku-stubs.c
r43411 r49529 68 68 struct vboxguest_module_info *g_VBoxGuest; 69 69 70 size_tRTLogBackdoorPrintf(const char *pszFormat, ...)70 RTDECL(size_t) RTLogBackdoorPrintf(const char *pszFormat, ...) 71 71 { 72 72 va_list args; … … 79 79 return cb; 80 80 } 81 size_tRTLogBackdoorPrintfV(const char *pszFormat, va_list args)81 RTDECL(size_t) RTLogBackdoorPrintfV(const char *pszFormat, va_list args) 82 82 { 83 83 return g_VBoxGuest->_RTLogBackdoorPrintfV(pszFormat, args); 84 84 } 85 intRTLogSetDefaultInstanceThread(PRTLOGGER pLogger, uintptr_t uKey)85 RTDECL(int) RTLogSetDefaultInstanceThread(PRTLOGGER pLogger, uintptr_t uKey) 86 86 { 87 87 return g_VBoxGuest->_RTLogSetDefaultInstanceThread(pLogger, uKey); 88 88 } 89 intRTMemAllocExTag(size_t cb, size_t cbAlignment, uint32_t fFlags, const char *pszTag, void **ppv)89 RTDECL(int) RTMemAllocExTag(size_t cb, size_t cbAlignment, uint32_t fFlags, const char *pszTag, void **ppv) 90 90 { 91 91 return g_VBoxGuest->_RTMemAllocExTag(cb, cbAlignment, fFlags, pszTag, ppv); 92 92 } 93 void*RTMemContAlloc(PRTCCPHYS pPhys, size_t cb)93 RTR0DECL(void*) RTMemContAlloc(PRTCCPHYS pPhys, size_t cb) 94 94 { 95 95 return g_VBoxGuest->_RTMemContAlloc(pPhys, cb); 96 96 } 97 voidRTMemContFree(void *pv, size_t cb)97 RTR0DECL(void) RTMemContFree(void *pv, size_t cb) 98 98 { 99 99 g_VBoxGuest->_RTMemContFree(pv, cb); 100 100 } 101 voidRTMemFreeEx(void *pv, size_t cb)101 RTDECL(void) RTMemFreeEx(void *pv, size_t cb) 102 102 { 103 103 g_VBoxGuest->_RTMemFreeEx(pv, cb); 104 104 } 105 boolRTMpIsCpuPossible(RTCPUID idCpu)105 RTDECL(bool) RTMpIsCpuPossible(RTCPUID idCpu) 106 106 { 107 107 return g_VBoxGuest->_RTMpIsCpuPossible(idCpu); 108 108 } 109 intRTMpNotificationDeregister(PFNRTMPNOTIFICATION pfnCallback, void *pvUser)109 RTDECL(int) RTMpNotificationDeregister(PFNRTMPNOTIFICATION pfnCallback, void *pvUser) 110 110 { 111 111 return g_VBoxGuest->_RTMpNotificationDeregister(pfnCallback, pvUser); 112 112 } 113 intRTMpNotificationRegister(PFNRTMPNOTIFICATION pfnCallback, void *pvUser)113 RTDECL(int) RTMpNotificationRegister(PFNRTMPNOTIFICATION pfnCallback, void *pvUser) 114 114 { 115 115 return g_VBoxGuest->_RTMpNotificationRegister(pfnCallback, pvUser); 116 116 } 117 intRTMpOnAll(PFNRTMPWORKER pfnWorker, void *pvUser1, void *pvUser2)117 RTDECL(int) RTMpOnAll(PFNRTMPWORKER pfnWorker, void *pvUser1, void *pvUser2) 118 118 { 119 119 return g_VBoxGuest->_RTMpOnAll(pfnWorker, pvUser1, pvUser2); 120 120 } 121 intRTMpOnOthers(PFNRTMPWORKER pfnWorker, void *pvUser1, void *pvUser2)121 RTDECL(int) RTMpOnOthers(PFNRTMPWORKER pfnWorker, void *pvUser1, void *pvUser2) 122 122 { 123 123 return g_VBoxGuest->_RTMpOnOthers(pfnWorker, pvUser1, pvUser2); 124 124 } 125 intRTMpOnSpecific(RTCPUID idCpu, PFNRTMPWORKER pfnWorker, void *pvUser1, void *pvUser2)125 RTDECL(int) RTMpOnSpecific(RTCPUID idCpu, PFNRTMPWORKER pfnWorker, void *pvUser1, void *pvUser2) 126 126 { 127 127 return g_VBoxGuest->_RTMpOnSpecific(idCpu, pfnWorker, pvUser1, pvUser2); 128 128 } 129 intRTPowerNotificationDeregister(PFNRTPOWERNOTIFICATION pfnCallback, void *pvUser)129 RTDECL(int) RTPowerNotificationDeregister(PFNRTPOWERNOTIFICATION pfnCallback, void *pvUser) 130 130 { 131 131 return g_VBoxGuest->_RTPowerNotificationDeregister(pfnCallback, pvUser); 132 132 } 133 intRTPowerNotificationRegister(PFNRTPOWERNOTIFICATION pfnCallback, void *pvUser)133 RTDECL(int) RTPowerNotificationRegister(PFNRTPOWERNOTIFICATION pfnCallback, void *pvUser) 134 134 { 135 135 return g_VBoxGuest->_RTPowerNotificationRegister(pfnCallback, pvUser); 136 136 } 137 intRTPowerSignalEvent(RTPOWEREVENT enmEvent)137 RTDECL(int) RTPowerSignalEvent(RTPOWEREVENT enmEvent) 138 138 { 139 139 return g_VBoxGuest->_RTPowerSignalEvent(enmEvent); 140 140 } 141 voidRTR0AssertPanicSystem(void)141 RTR0DECL(void) RTR0AssertPanicSystem(void) 142 142 { 143 143 g_VBoxGuest->_RTR0AssertPanicSystem(); 144 144 } 145 intRTR0Init(unsigned fReserved)145 RTR0DECL(int) RTR0Init(unsigned fReserved) 146 146 { 147 147 return g_VBoxGuest->_RTR0Init(fReserved); 148 148 } 149 void*RTR0MemObjAddress(RTR0MEMOBJ MemObj)149 RTR0DECL(void*) RTR0MemObjAddress(RTR0MEMOBJ MemObj) 150 150 { 151 151 return g_VBoxGuest->_RTR0MemObjAddress(MemObj); 152 152 } 153 RTR 3PTRRTR0MemObjAddressR3(RTR0MEMOBJ MemObj)153 RTR0DECL(RTR3PTR) RTR0MemObjAddressR3(RTR0MEMOBJ MemObj) 154 154 { 155 155 return g_VBoxGuest->_RTR0MemObjAddressR3(MemObj); 156 156 } 157 intRTR0MemObjAllocContTag(PRTR0MEMOBJ pMemObj, size_t cb, bool fExecutable, const char *pszTag)157 RTR0DECL(int) RTR0MemObjAllocContTag(PRTR0MEMOBJ pMemObj, size_t cb, bool fExecutable, const char *pszTag) 158 158 { 159 159 return g_VBoxGuest->_RTR0MemObjAllocContTag(pMemObj, cb, fExecutable, pszTag); 160 160 } 161 intRTR0MemObjAllocLowTag(PRTR0MEMOBJ pMemObj, size_t cb, bool fExecutable, const char *pszTag)161 RTR0DECL(int) RTR0MemObjAllocLowTag(PRTR0MEMOBJ pMemObj, size_t cb, bool fExecutable, const char *pszTag) 162 162 { 163 163 return g_VBoxGuest->_RTR0MemObjAllocLowTag(pMemObj, cb, fExecutable, pszTag); 164 164 } 165 intRTR0MemObjAllocPageTag(PRTR0MEMOBJ pMemObj, size_t cb, bool fExecutable, const char *pszTag)165 RTR0DECL(int) RTR0MemObjAllocPageTag(PRTR0MEMOBJ pMemObj, size_t cb, bool fExecutable, const char *pszTag) 166 166 { 167 167 return g_VBoxGuest->_RTR0MemObjAllocPageTag(pMemObj, cb, fExecutable, pszTag); 168 168 } 169 intRTR0MemObjAllocPhysExTag(PRTR0MEMOBJ pMemObj, size_t cb, RTHCPHYS PhysHighest, size_t uAlignment, const char *pszTag)169 RTR0DECL(int) RTR0MemObjAllocPhysExTag(PRTR0MEMOBJ pMemObj, size_t cb, RTHCPHYS PhysHighest, size_t uAlignment, const char *pszTag) 170 170 { 171 171 return g_VBoxGuest->_RTR0MemObjAllocPhysExTag(pMemObj, cb, PhysHighest, uAlignment, pszTag); 172 172 } 173 intRTR0MemObjAllocPhysNCTag(PRTR0MEMOBJ pMemObj, size_t cb, RTHCPHYS PhysHighest, const char *pszTag)173 RTR0DECL(int) RTR0MemObjAllocPhysNCTag(PRTR0MEMOBJ pMemObj, size_t cb, RTHCPHYS PhysHighest, const char *pszTag) 174 174 { 175 175 return g_VBoxGuest->_RTR0MemObjAllocPhysNCTag(pMemObj, cb, PhysHighest, pszTag); 176 176 } 177 intRTR0MemObjAllocPhysTag(PRTR0MEMOBJ pMemObj, size_t cb, RTHCPHYS PhysHighest, const char *pszTag)177 RTR0DECL(int) RTR0MemObjAllocPhysTag(PRTR0MEMOBJ pMemObj, size_t cb, RTHCPHYS PhysHighest, const char *pszTag) 178 178 { 179 179 return g_VBoxGuest->_RTR0MemObjAllocPhysTag(pMemObj, cb, PhysHighest, pszTag); 180 180 } 181 intRTR0MemObjEnterPhysTag(PRTR0MEMOBJ pMemObj, RTHCPHYS Phys, size_t cb, uint32_t uCachePolicy, const char *pszTag)181 RTR0DECL(int) RTR0MemObjEnterPhysTag(PRTR0MEMOBJ pMemObj, RTHCPHYS Phys, size_t cb, uint32_t uCachePolicy, const char *pszTag) 182 182 { 183 183 return g_VBoxGuest->_RTR0MemObjEnterPhysTag(pMemObj, Phys, cb, uCachePolicy, pszTag); 184 184 } 185 intRTR0MemObjFree(RTR0MEMOBJ MemObj, bool fFreeMappings)185 RTR0DECL(int) RTR0MemObjFree(RTR0MEMOBJ MemObj, bool fFreeMappings) 186 186 { 187 187 return g_VBoxGuest->_RTR0MemObjFree(MemObj, fFreeMappings); 188 188 } 189 RT HCPHYSRTR0MemObjGetPagePhysAddr(RTR0MEMOBJ MemObj, size_t iPage)189 RTR0DECL(RTHCPHYS) RTR0MemObjGetPagePhysAddr(RTR0MEMOBJ MemObj, size_t iPage) 190 190 { 191 191 return g_VBoxGuest->_RTR0MemObjGetPagePhysAddr(MemObj, iPage); 192 192 } 193 boolRTR0MemObjIsMapping(RTR0MEMOBJ MemObj)193 RTR0DECL(bool) RTR0MemObjIsMapping(RTR0MEMOBJ MemObj) 194 194 { 195 195 return g_VBoxGuest->_RTR0MemObjIsMapping(MemObj); 196 196 } 197 intRTR0MemObjLockKernelTag(PRTR0MEMOBJ pMemObj, void *pv, size_t cb, uint32_t fAccess, const char *pszTag)197 RTR0DECL(int) RTR0MemObjLockKernelTag(PRTR0MEMOBJ pMemObj, void *pv, size_t cb, uint32_t fAccess, const char *pszTag) 198 198 { 199 199 return g_VBoxGuest->_RTR0MemObjLockKernelTag(pMemObj, pv, cb, fAccess, pszTag); 200 200 } 201 intRTR0MemObjLockUserTag(PRTR0MEMOBJ pMemObj, RTR3PTR R3Ptr, size_t cb, uint32_t fAccess, RTR0PROCESS R0Process, const char *pszTag)201 RTR0DECL(int) RTR0MemObjLockUserTag(PRTR0MEMOBJ pMemObj, RTR3PTR R3Ptr, size_t cb, uint32_t fAccess, RTR0PROCESS R0Process, const char *pszTag) 202 202 { 203 203 return g_VBoxGuest->_RTR0MemObjLockUserTag(pMemObj, R3Ptr, cb, fAccess, R0Process, pszTag); 204 204 } 205 intRTR0MemObjMapKernelExTag(PRTR0MEMOBJ pMemObj, RTR0MEMOBJ MemObjToMap, void *pvFixed, size_t uAlignment, unsigned fProt, size_t offSub, size_t cbSub, const char *pszTag)205 RTR0DECL(int) RTR0MemObjMapKernelExTag(PRTR0MEMOBJ pMemObj, RTR0MEMOBJ MemObjToMap, void *pvFixed, size_t uAlignment, unsigned fProt, size_t offSub, size_t cbSub, const char *pszTag) 206 206 { 207 207 return g_VBoxGuest->_RTR0MemObjMapKernelExTag(pMemObj, MemObjToMap, pvFixed, uAlignment, fProt, offSub, cbSub, pszTag); 208 208 } 209 intRTR0MemObjMapKernelTag(PRTR0MEMOBJ pMemObj, RTR0MEMOBJ MemObjToMap, void *pvFixed, size_t uAlignment, unsigned fProt, const char *pszTag)209 RTR0DECL(int) RTR0MemObjMapKernelTag(PRTR0MEMOBJ pMemObj, RTR0MEMOBJ MemObjToMap, void *pvFixed, size_t uAlignment, unsigned fProt, const char *pszTag) 210 210 { 211 211 return g_VBoxGuest->_RTR0MemObjMapKernelTag(pMemObj, MemObjToMap, pvFixed, uAlignment, fProt, pszTag); 212 212 } 213 intRTR0MemObjMapUserTag(PRTR0MEMOBJ pMemObj, RTR0MEMOBJ MemObjToMap, RTR3PTR R3PtrFixed, size_t uAlignment, unsigned fProt, RTR0PROCESS R0Process, const char *pszTag)213 RTR0DECL(int) RTR0MemObjMapUserTag(PRTR0MEMOBJ pMemObj, RTR0MEMOBJ MemObjToMap, RTR3PTR R3PtrFixed, size_t uAlignment, unsigned fProt, RTR0PROCESS R0Process, const char *pszTag) 214 214 { 215 215 return g_VBoxGuest->_RTR0MemObjMapUserTag(pMemObj, MemObjToMap, R3PtrFixed, uAlignment, fProt, R0Process, pszTag); 216 216 } 217 intRTR0MemObjProtect(RTR0MEMOBJ hMemObj, size_t offSub, size_t cbSub, uint32_t fProt)217 RTR0DECL(int) RTR0MemObjProtect(RTR0MEMOBJ hMemObj, size_t offSub, size_t cbSub, uint32_t fProt) 218 218 { 219 219 return g_VBoxGuest->_RTR0MemObjProtect(hMemObj, offSub, cbSub, fProt); 220 220 } 221 intRTR0MemObjReserveKernelTag(PRTR0MEMOBJ pMemObj, void *pvFixed, size_t cb, size_t uAlignment, const char *pszTag)221 RTR0DECL(int) RTR0MemObjReserveKernelTag(PRTR0MEMOBJ pMemObj, void *pvFixed, size_t cb, size_t uAlignment, const char *pszTag) 222 222 { 223 223 return g_VBoxGuest->_RTR0MemObjReserveKernelTag(pMemObj, pvFixed, cb, uAlignment, pszTag); 224 224 } 225 intRTR0MemObjReserveUserTag(PRTR0MEMOBJ pMemObj, RTR3PTR R3PtrFixed, size_t cb, size_t uAlignment, RTR0PROCESS R0Process, const char *pszTag)225 RTR0DECL(int) RTR0MemObjReserveUserTag(PRTR0MEMOBJ pMemObj, RTR3PTR R3PtrFixed, size_t cb, size_t uAlignment, RTR0PROCESS R0Process, const char *pszTag) 226 226 { 227 227 return g_VBoxGuest->_RTR0MemObjReserveUserTag(pMemObj, R3PtrFixed, cb, uAlignment, R0Process, pszTag); 228 228 } 229 size_tRTR0MemObjSize(RTR0MEMOBJ MemObj)229 RTR0DECL(size_t) RTR0MemObjSize(RTR0MEMOBJ MemObj) 230 230 { 231 231 return g_VBoxGuest->_RTR0MemObjSize(MemObj); 232 232 } 233 RTR0 PROCESSRTR0ProcHandleSelf(void)233 RTR0DECL(RTR0PROCESS) RTR0ProcHandleSelf(void) 234 234 { 235 235 return g_VBoxGuest->_RTR0ProcHandleSelf(); 236 236 } 237 voidRTR0Term(void)237 RTR0DECL(void) RTR0Term(void) 238 238 { 239 239 g_VBoxGuest->_RTR0Term(); 240 240 } 241 voidRTR0TermForced(void)241 RTR0DECL(void) RTR0TermForced(void) 242 242 { 243 243 g_VBoxGuest->_RTR0TermForced(); 244 244 } 245 RT PROCESSRTProcSelf(void)245 RTDECL(RTPROCESS) RTProcSelf(void) 246 246 { 247 247 return g_VBoxGuest->_RTProcSelf(); 248 248 } 249 uint32_tRTSemEventGetResolution(void)249 RTDECL(uint32_t) RTSemEventGetResolution(void) 250 250 { 251 251 return g_VBoxGuest->_RTSemEventGetResolution(); 252 252 } 253 uint32_tRTSemEventMultiGetResolution(void)253 RTDECL(uint32_t) RTSemEventMultiGetResolution(void) 254 254 { 255 255 return g_VBoxGuest->_RTSemEventMultiGetResolution(); 256 256 } 257 intRTSemEventMultiWaitEx(RTSEMEVENTMULTI hEventMultiSem, uint32_t fFlags, uint64_t uTimeout)257 RTDECL(int) RTSemEventMultiWaitEx(RTSEMEVENTMULTI hEventMultiSem, uint32_t fFlags, uint64_t uTimeout) 258 258 { 259 259 return g_VBoxGuest->_RTSemEventMultiWaitEx(hEventMultiSem, fFlags, uTimeout); 260 260 } 261 intRTSemEventMultiWaitExDebug(RTSEMEVENTMULTI hEventMultiSem, uint32_t fFlags, uint64_t uTimeout, RTHCUINTPTR uId, RT_SRC_POS_DECL)261 RTDECL(int) RTSemEventMultiWaitExDebug(RTSEMEVENTMULTI hEventMultiSem, uint32_t fFlags, uint64_t uTimeout, RTHCUINTPTR uId, RT_SRC_POS_DECL) 262 262 { 263 263 return g_VBoxGuest->_RTSemEventMultiWaitExDebug(hEventMultiSem, fFlags, uTimeout, uId, pszFile, iLine, pszFunction); 264 264 } 265 intRTSemEventWaitEx(RTSEMEVENT hEventSem, uint32_t fFlags, uint64_t uTimeout)265 RTDECL(int) RTSemEventWaitEx(RTSEMEVENT hEventSem, uint32_t fFlags, uint64_t uTimeout) 266 266 { 267 267 return g_VBoxGuest->_RTSemEventWaitEx(hEventSem, fFlags, uTimeout); 268 268 } 269 intRTSemEventWaitExDebug(RTSEMEVENT hEventSem, uint32_t fFlags, uint64_t uTimeout, RTHCUINTPTR uId, RT_SRC_POS_DECL)269 RTDECL(int) RTSemEventWaitExDebug(RTSEMEVENT hEventSem, uint32_t fFlags, uint64_t uTimeout, RTHCUINTPTR uId, RT_SRC_POS_DECL) 270 270 { 271 271 return g_VBoxGuest->_RTSemEventWaitExDebug(hEventSem, fFlags, uTimeout, uId, pszFile, iLine, pszFunction); 272 272 } 273 boolRTThreadIsInInterrupt(RTTHREAD hThread)273 RTDECL(bool) RTThreadIsInInterrupt(RTTHREAD hThread) 274 274 { 275 275 return g_VBoxGuest->_RTThreadIsInInterrupt(hThread); 276 276 } 277 voidRTThreadPreemptDisable(PRTTHREADPREEMPTSTATE pState)277 RTDECL(void) RTThreadPreemptDisable(PRTTHREADPREEMPTSTATE pState) 278 278 { 279 279 g_VBoxGuest->_RTThreadPreemptDisable(pState); 280 280 } 281 boolRTThreadPreemptIsEnabled(RTTHREAD hThread)281 RTDECL(bool) RTThreadPreemptIsEnabled(RTTHREAD hThread) 282 282 { 283 283 return g_VBoxGuest->_RTThreadPreemptIsEnabled(hThread); 284 284 } 285 boolRTThreadPreemptIsPending(RTTHREAD hThread)285 RTDECL(bool) RTThreadPreemptIsPending(RTTHREAD hThread) 286 286 { 287 287 return g_VBoxGuest->_RTThreadPreemptIsPending(hThread); 288 288 } 289 boolRTThreadPreemptIsPendingTrusty(void)289 RTDECL(bool) RTThreadPreemptIsPendingTrusty(void) 290 290 { 291 291 return g_VBoxGuest->_RTThreadPreemptIsPendingTrusty(); 292 292 } 293 boolRTThreadPreemptIsPossible(void)293 RTDECL(bool) RTThreadPreemptIsPossible(void) 294 294 { 295 295 return g_VBoxGuest->_RTThreadPreemptIsPossible(); 296 296 } 297 voidRTThreadPreemptRestore(PRTTHREADPREEMPTSTATE pState)297 RTDECL(void) RTThreadPreemptRestore(PRTTHREADPREEMPTSTATE pState) 298 298 { 299 299 g_VBoxGuest->_RTThreadPreemptRestore(pState); 300 300 } 301 uint32_tRTTimerGetSystemGranularity(void)301 RTDECL(uint32_t) RTTimerGetSystemGranularity(void) 302 302 { 303 303 return g_VBoxGuest->_RTTimerGetSystemGranularity(); 304 304 } 305 intRTTimerReleaseSystemGranularity(uint32_t u32Granted)305 RTDECL(int) RTTimerReleaseSystemGranularity(uint32_t u32Granted) 306 306 { 307 307 return g_VBoxGuest->_RTTimerReleaseSystemGranularity(u32Granted); 308 308 } 309 intRTTimerRequestSystemGranularity(uint32_t u32Request, uint32_t *pu32Granted)309 RTDECL(int) RTTimerRequestSystemGranularity(uint32_t u32Request, uint32_t *pu32Granted) 310 310 { 311 311 return g_VBoxGuest->_RTTimerRequestSystemGranularity(u32Request, pu32Granted); 312 312 } 313 voidRTSpinlockAcquire(RTSPINLOCK Spinlock)313 RTDECL(void) RTSpinlockAcquire(RTSPINLOCK Spinlock) 314 314 { 315 315 g_VBoxGuest->_RTSpinlockAcquire(Spinlock); 316 316 } 317 voidRTSpinlockRelease(RTSPINLOCK Spinlock)317 RTDECL(void) RTSpinlockRelease(RTSPINLOCK Spinlock) 318 318 { 319 319 g_VBoxGuest->_RTSpinlockRelease(Spinlock); 320 320 } 321 voidRTSpinlockReleaseNoInts(RTSPINLOCK Spinlock)321 RTDECL(void) RTSpinlockReleaseNoInts(RTSPINLOCK Spinlock) 322 322 { 323 323 g_VBoxGuest->_RTSpinlockReleaseNoInts(Spinlock); 324 324 } 325 void*RTMemTmpAllocTag(size_t cb, const char *pszTag)325 RTDECL(void*) RTMemTmpAllocTag(size_t cb, const char *pszTag) 326 326 { 327 327 return g_VBoxGuest->_RTMemTmpAllocTag(cb, pszTag); 328 328 } 329 voidRTMemTmpFree(void *pv)329 RTDECL(void) RTMemTmpFree(void *pv) 330 330 { 331 331 g_VBoxGuest->_RTMemTmpFree(pv); 332 332 } 333 PRTLOGGERRTLogDefaultInstance(void)333 RTDECL(PRTLOGGER) RTLogDefaultInstance(void) 334 334 { 335 335 return g_VBoxGuest->_RTLogDefaultInstance(); 336 336 } 337 PRTLOGGERRTLogRelDefaultInstance(void)337 RTDECL(PRTLOGGER) RTLogRelDefaultInstance(void) 338 338 { 339 339 return g_VBoxGuest->_RTLogRelDefaultInstance(); 340 340 } 341 intRTErrConvertToErrno(int iErr)341 RTDECL(int) RTErrConvertToErrno(int iErr) 342 342 { 343 343 return g_VBoxGuest->_RTErrConvertToErrno(iErr); … … 367 367 return g_VBoxGuest->_VBoxGuestIDCCall(pvSession, iCmd, pvData, cbData, pcbDataReturned); 368 368 } 369 voidRTAssertMsg1Weak(const char *pszExpr, unsigned uLine, const char *pszFile, const char *pszFunction)369 RTDECL(void) RTAssertMsg1Weak(const char *pszExpr, unsigned uLine, const char *pszFile, const char *pszFunction) 370 370 { 371 371 g_VBoxGuest->_RTAssertMsg1Weak(pszExpr, uLine, pszFile, pszFunction); 372 372 } 373 voidRTAssertMsg2Weak(const char *pszFormat, ...)373 RTDECL(void) RTAssertMsg2Weak(const char *pszFormat, ...) 374 374 { 375 375 va_list va; … … 378 378 va_end(va); 379 379 } 380 voidRTAssertMsg2WeakV(const char *pszFormat, va_list va)380 RTDECL(void) RTAssertMsg2WeakV(const char *pszFormat, va_list va) 381 381 { 382 382 g_VBoxGuest->_RTAssertMsg2WeakV(pszFormat, va); 383 383 } 384 boolRTAssertShouldPanic(void)384 RTDECL(bool) RTAssertShouldPanic(void) 385 385 { 386 386 return g_VBoxGuest->_RTAssertShouldPanic(); 387 387 } 388 intRTSemFastMutexCreate(PRTSEMFASTMUTEX phFastMtx)388 RTDECL(int) RTSemFastMutexCreate(PRTSEMFASTMUTEX phFastMtx) 389 389 { 390 390 return g_VBoxGuest->_RTSemFastMutexCreate(phFastMtx); 391 391 } 392 intRTSemFastMutexDestroy(RTSEMFASTMUTEX hFastMtx)392 RTDECL(int) RTSemFastMutexDestroy(RTSEMFASTMUTEX hFastMtx) 393 393 { 394 394 return g_VBoxGuest->_RTSemFastMutexDestroy(hFastMtx); 395 395 } 396 intRTSemFastMutexRelease(RTSEMFASTMUTEX hFastMtx)396 RTDECL(int) RTSemFastMutexRelease(RTSEMFASTMUTEX hFastMtx) 397 397 { 398 398 return g_VBoxGuest->_RTSemFastMutexRelease(hFastMtx); 399 399 } 400 intRTSemFastMutexRequest(RTSEMFASTMUTEX hFastMtx)400 RTDECL(int) RTSemFastMutexRequest(RTSEMFASTMUTEX hFastMtx) 401 401 { 402 402 return g_VBoxGuest->_RTSemFastMutexRequest(hFastMtx); 403 403 } 404 intRTSemMutexCreate(PRTSEMMUTEX phFastMtx)404 RTDECL(int) RTSemMutexCreate(PRTSEMMUTEX phFastMtx) 405 405 { 406 406 return g_VBoxGuest->_RTSemMutexCreate(phFastMtx); 407 407 } 408 intRTSemMutexDestroy(RTSEMMUTEX hFastMtx)408 RTDECL(int) RTSemMutexDestroy(RTSEMMUTEX hFastMtx) 409 409 { 410 410 return g_VBoxGuest->_RTSemMutexDestroy(hFastMtx); 411 411 } 412 intRTSemMutexRelease(RTSEMMUTEX hFastMtx)412 RTDECL(int) RTSemMutexRelease(RTSEMMUTEX hFastMtx) 413 413 { 414 414 return g_VBoxGuest->_RTSemMutexRelease(hFastMtx); 415 415 } 416 intRTSemMutexRequest(RTSEMMUTEX hFastMtx, RTMSINTERVAL cMillies)416 RTDECL(int) RTSemMutexRequest(RTSEMMUTEX hFastMtx, RTMSINTERVAL cMillies) 417 417 { 418 418 return g_VBoxGuest->_RTSemMutexRequest(hFastMtx, cMillies);
Note:
See TracChangeset
for help on using the changeset viewer.