Changeset 54608 in vbox for trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuestInternal.h
- Timestamp:
- Mar 3, 2015 8:28:01 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuestInternal.h
r54606 r54608 5 5 6 6 /* 7 * Copyright (C) 2010-201 4Oracle Corporation7 * Copyright (C) 2010-2015 Oracle Corporation 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 65 65 uint32_t volatile fResEvents; 66 66 #ifdef VBOXGUEST_USE_DEFERRED_WAKE_UP 67 /** Set by V BoxGuestWaitDoWakeUps before leaving the spinlock to call67 /** Set by VbgdCommonWaitDoWakeUps before leaving the spinlock to call 68 68 * RTSemEventMultiSignal. */ 69 69 bool volatile fPendingWakeUp; 70 70 /** Set by the requestor thread if it got the spinlock before the 71 * signaller. Deals with the race in V BoxGuestWaitDoWakeUps. */71 * signaller. Deals with the race in VbgdCommonWaitDoWakeUps. */ 72 72 bool volatile fFreeMe; 73 73 #endif … … 314 314 RT_C_DECLS_BEGIN 315 315 316 int V BoxGuestInitDevExt(PVBOXGUESTDEVEXT pDevExt, uint16_t IOPortBase, void *pvMMIOBase, uint32_t cbMMIO, VBOXOSTYPE enmOSType, uint32_t fEvents);317 bool VBoxGuestCommonISR(PVBOXGUESTDEVEXT pDevExt);318 void VBoxGuestDeleteDevExt(PVBOXGUESTDEVEXT pDevExt);319 int VBoxGuestReinitDevExtAfterHibernation(PVBOXGUESTDEVEXT pDevExt, VBOXOSTYPE enmOSType);320 int V BoxGuestSetGuestCapabilities(uint32_t fOr, uint32_t fNot);316 int VbgdCommonInitDevExt(PVBOXGUESTDEVEXT pDevExt, uint16_t IOPortBase, void *pvMMIOBase, uint32_t cbMMIO, 317 VBOXOSTYPE enmOSType, uint32_t fEvents); 318 bool VbgdCommonISR(PVBOXGUESTDEVEXT pDevExt); 319 void VbgdCommonDeleteDevExt(PVBOXGUESTDEVEXT pDevExt); 320 int VbgdCommonReinitDevExtAfterHibernation(PVBOXGUESTDEVEXT pDevExt, VBOXOSTYPE enmOSType); 321 321 #ifdef VBOXGUEST_USE_DEFERRED_WAKE_UP 322 void VBoxGuestWaitDoWakeUps(PVBOXGUESTDEVEXT pDevExt); 323 #endif 324 325 int VBoxGuestCreateUserSession(PVBOXGUESTDEVEXT pDevExt, PVBOXGUESTSESSION *ppSession); 326 int VBoxGuestCreateKernelSession(PVBOXGUESTDEVEXT pDevExt, PVBOXGUESTSESSION *ppSession); 327 void VBoxGuestCloseSession(PVBOXGUESTDEVEXT pDevExt, PVBOXGUESTSESSION pSession); 328 329 int VBoxGuestCommonIOCtlFast(unsigned iFunction, PVBOXGUESTDEVEXT pDevExt, PVBOXGUESTSESSION pSession); 330 int VBoxGuestCommonIOCtl(unsigned iFunction, PVBOXGUESTDEVEXT pDevExt, PVBOXGUESTSESSION pSession, 331 void *pvData, size_t cbData, size_t *pcbDataReturned); 332 333 #if defined(RT_OS_SOLARIS) \ 334 || defined(RT_OS_FREEBSD) \ 335 || defined(RT_OS_LINUX) 336 DECLVBGL(void *) VBoxGuestNativeServiceOpen(uint32_t *pu32Version); 337 DECLVBGL(void) VBoxGuestNativeServiceClose(void *pvOpaque); 338 DECLVBGL(int) VBoxGuestNativeServiceCall(void *pvOpaque, unsigned int iCmd, void *pvData, size_t cbSize, size_t *pcbReturn); 339 #endif 322 void VbgdCommonWaitDoWakeUps(PVBOXGUESTDEVEXT pDevExt); 323 #endif 324 325 int VbgdCommonCreateUserSession(PVBOXGUESTDEVEXT pDevExt, PVBOXGUESTSESSION *ppSession); 326 int VbgdCommonCreateKernelSession(PVBOXGUESTDEVEXT pDevExt, PVBOXGUESTSESSION *ppSession); 327 void VbgdCommonCloseSession(PVBOXGUESTDEVEXT pDevExt, PVBOXGUESTSESSION pSession); 328 329 int VbgdCommonIoCtlFast(unsigned iFunction, PVBOXGUESTDEVEXT pDevExt, PVBOXGUESTSESSION pSession); 330 int VbgdCommonIoCtl(unsigned iFunction, PVBOXGUESTDEVEXT pDevExt, PVBOXGUESTSESSION pSession, 331 void *pvData, size_t cbData, size_t *pcbDataReturned); 340 332 341 333 /** … … 347 339 * @param pDevExt The device extension. 348 340 */ 349 void V BoxGuestNativeISRMousePollEvent(PVBOXGUESTDEVEXT pDevExt);341 void VbgdNativeISRMousePollEvent(PVBOXGUESTDEVEXT pDevExt); 350 342 351 343
Note:
See TracChangeset
for help on using the changeset viewer.