- Timestamp:
- Oct 7, 2015 12:33:00 PM (9 years ago)
- Location:
- trunk
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Doxyfile.Core
r57977 r58089 444 444 RT_C_DECLS_END \ 445 445 RT_C_DECLS_BEGIN \ 446 VBOX \ 446 VBOX=1 \ 447 RT_STRICT=1 \ 448 VBOX_STRICT=1 \ 449 __cplusplus=1 \ 450 ARCH_BITS=HC_ARCH_BITS \ 451 R3_ARCH_BITS=HC_ARCH_BITS \ 452 R0_ARCH_BITS=HC_ARCH_BITS \ 453 RTDECL(type)=type \ 454 RT_EXPORT_SYMBOL(name)= \ 455 \ 456 RT_SRC_POS=1 \ 457 RT_SRC_POS_ARGS=SRC_POS \ 458 "RT_SRC_POS_DECL=int SRC_POS" \ 459 \ 460 RT_IPRT_FORMAT_ATTR(a,b)= \ 461 RT_IPRT_FORMAT_ATTR_MAYBE_NULL(a,b)= \ 462 RT_NO_THROW_PROTO= 463 464 # decl and calling conventions. 465 PREDEFINED += \ 466 "DECLINLINE(type)=inline type" \ 467 DECL_FORCE_INLINE(type)=DECLINLINE(type) \ 468 DECL_NO_INLINE(type)=type \ 469 DECLCALLBACK(type)=type \ 470 DECLEXPORT(type)=type \ 471 DECLIMPORT(type)=type \ 472 DECLHIDDEN(type)=type \ 473 DECL_HIDDEN_CONST(type)=type \ 474 DECLASM(type)=type \ 475 DECLNORETURN(type)=type \ 476 VBOXCALL= \ 477 RTCALL= 478 # context hacks. 479 PREDEFINED += RCPTRTYPE(RCType)=RCType 480 PREDEFINED += R3PTRTYPE(R3Type)=R3Type 481 PREDEFINED += R0PTRTYPE(R0Type)=R0Type 482 PREDEFINED += HCPTRTYPE(HCType)=HCType 483 PREDEFINED += R3R0PTRTYPE(R3R0Type)=R3R0Type 484 # Compile assertion hacks. 485 PREDEFINED += \ 447 486 AssertCompileNS(expr) \ 448 487 AssertCompile(expr) \ … … 458 497 AssertCompileMembersSameSize(type1, member1, type2, member2) \ 459 498 AssertCompileMembersSameSizeAndOffset(type1, member1, type2, member2) 460 461 # context hacks.462 PREDEFINED += RCPTRTYPE(RCType)=RCType463 PREDEFINED += R3PTRTYPE(R3Type)=R3Type464 PREDEFINED += R0PTRTYPE(R0Type)=R0Type465 PREDEFINED += HCPTRTYPE(HCType)=HCType466 PREDEFINED += R3R0PTRTYPE(R3R0Type)=R3R0Type467 # Compile assertion hacks.468 PREDEFINED += \469 AssertCompile(expr) \470 AssertCompileSize(a,b) \471 AssertCompileSizeAlignment(a,b) \472 AssertCompileMemberSizeAlignment(a,b,c) \473 AssertCompileMemberAlignment(a,b,c) \474 AssertCompileMemberOffset(a,b,c) \475 AssertCompile2MemberOffsets(a,b,c)476 499 # COM/XPCOM hacks. 477 500 PREDEFINED += STDMETHODIMP=HRESULT -
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-linux.c
r58053 r58089 56 56 /** The device name. */ 57 57 #define DEVICE_NAME "vboxguest" 58 /** The device name for the device node open to everyone. .*/58 /** The device name for the device node open to everyone. */ 59 59 #define DEVICE_NAME_USER "vboxuser" 60 60 /** The name of the PCI driver */ … … 334 334 * @param iIrq The IRQ number. 335 335 * @param pvDevId The device ID, a pointer to g_DevExt. 336 * @param p vRegsRegister set. Removed in 2.6.19.337 */ 338 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 19) 339 static irqreturn_t vboxguestLinuxISR(int iIr rq, void *pvDevId)336 * @param pRegs Register set. Removed in 2.6.19. 337 */ 338 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 19) && !defined(DOXYGEN_RUNNING) 339 static irqreturn_t vboxguestLinuxISR(int iIrq, void *pvDevId) 340 340 #else 341 static irqreturn_t vboxguestLinuxISR(int iIr rq, void *pvDevId, struct pt_regs *pRegs)341 static irqreturn_t vboxguestLinuxISR(int iIrq, void *pvDevId, struct pt_regs *pRegs) 342 342 #endif 343 343 { … … 742 742 * Device I/O Control entry point. 743 743 * 744 * @param pInode Associated inode pointer. 744 745 * @param pFilp Associated file pointer. 745 746 * @param uCmd The function specified to ioctl(). -
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-os2.cpp
r58053 r58089 224 224 * @returns VBox status code. 225 225 * @retval VERR_VERSION_MISMATCH The VMMDev memory didn't meet our expectations. 226 *227 * @param pDevExt The device extension.228 226 */ 229 227 static int vboxGuestOS2MapMemory(void) -
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-win.cpp
r58053 r58089 555 555 * Do not delete DevExt here. 556 556 * 557 * @param pD rvObj Driverobject.557 * @param pDevObj Device object. 558 558 */ 559 559 NTSTATUS vbgdNtCleanup(PDEVICE_OBJECT pDevObj) -
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest.cpp
r58053 r58089 502 502 * @returns VBox status code. 503 503 * @param pDevExt The device extension. 504 * @param pSession The session.505 504 * @param cBalloonChunks The new size of the balloon in chunks of 1MB. 506 505 * @param pfHandleInR3 Where to return the handle-in-ring3 indicator … … 727 726 * 728 727 * @param pDevExt The device extension. 729 * @param p DevExtThe session. Can be NULL at unload.728 * @param pSession The session. Can be NULL at unload. 730 729 */ 731 730 static void vgdrvCloseMemBalloon(PVBOXGUESTDEVEXT pDevExt, PVBOXGUESTSESSION pSession) … … 1768 1767 * 1769 1768 * @returns VINF_SUCCESS or VERR_PERMISSION_DENIED. 1769 * @param pDevExt The device extension. 1770 1770 * @param pSession The calling session. 1771 1771 * @param enmType The request type. … … 2459 2459 * @param cbData Size of the buffer. 2460 2460 * @param pcbDataReturned Where to store the amount of returned data. Can be NULL. 2461 * @param fUserSession Copy of VBOXGUESTSESSION::fUserSession for the 2462 * call. True normal user, false root user. 2461 2463 */ 2462 2464 static int vgdrvIoCtl_Log(PVBOXGUESTDEVEXT pDevExt, const char *pch, size_t cbData, size_t *pcbDataReturned, bool fUserSession) … … 2956 2958 * 2957 2959 * @returns VBox status code. 2958 * @param fMask The new mask. 2960 * @param pDevExt The device extension. 2961 * @param pReq The request. 2959 2962 */ 2960 2963 static int vgdrvUpdateCapabilitiesOnHostWithReqAndLock(PVBOXGUESTDEVEXT pDevExt, VMMDevReqGuestCapabilities2 *pReq) -
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuestIDC-unix.c.h
r58053 r58089 98 98 * 99 99 * @returns VBox error code. 100 * @param pvS tateOpaque pointer to the session object.100 * @param pvSession Opaque pointer to the session object. 101 101 */ 102 102 DECLEXPORT(int) VBOXCALL VBoxGuestIDCClose(void *pvSession) -
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuestInternal.h
r58053 r58089 37 37 #include <VBox/VBoxGuestLib.h> 38 38 39 /** @def VBOXGUEST_USE_ WAKE_UP_LIST39 /** @def VBOXGUEST_USE_DEFERRED_WAKE_UP 40 40 * Defer wake-up of waiting thread when defined. */ 41 41 #if defined(RT_OS_DARWIN) || defined(RT_OS_SOLARIS) || defined(RT_OS_WINDOWS) || defined(DOXYGEN_RUNNING) … … 88 88 typedef struct VBOXGUESTMEMBALLOON 89 89 { 90 /** Mutex protecting the members below from concurrent access. .*/90 /** Mutex protecting the members below from concurrent access. */ 91 91 RTSEMFASTMUTEX hMtx; 92 92 /** The current number of chunks in the balloon. */ -
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceControlProcess.cpp
r58031 r58089 224 224 * @return IPRT status code. 225 225 * @param pProcess Process to wait shutting down for. 226 * @param RTMSINTERVALTimeout in ms to wait for shutdown.226 * @param msTimeout Timeout in ms to wait for shutdown. 227 227 * @param prc Where to store the thread's return code. 228 228 * Optional. … … 280 280 * 281 281 * @return IPRT status code. 282 * @param hPollSet The polling set.282 * @param pProcess The process which input pipe we close. 283 283 * @param phStdInW The standard input pipe handle. 284 284 */ … … 1405 1405 * 1406 1406 * @return IPRT status code. 1407 * @param PVBOXSERVICECTRLPROCESS Guest process.1407 * @param pProcess The process we're servicing and monitoring. 1408 1408 */ 1409 1409 static int vgsvcGstCtrlProcessProcessWorker(PVBOXSERVICECTRLPROCESS pProcess) … … 1719 1719 * 1720 1720 * @return IPRT status code. 1721 * @param RTTHREAD Pointer to the thread's data.1722 * @param void* User-supplied argument pointer.1723 * 1724 */ 1725 static DECLCALLBACK(int) vgsvcGstCtrlProcessThread(RTTHREAD ThreadSelf, void *pvUser)1726 { 1727 PVBOXSERVICECTRLPROCESS pProcess = ( VBOXSERVICECTRLPROCESS*)pvUser;1721 * @param hThreadSelf The thread handle. 1722 * @param pvUser Pointer to a VBOXSERVICECTRLPROCESS structure. 1723 * 1724 */ 1725 static DECLCALLBACK(int) vgsvcGstCtrlProcessThread(RTTHREAD hThreadSelf, void *pvUser) 1726 { 1727 PVBOXSERVICECTRLPROCESS pProcess = (PVBOXSERVICECTRLPROCESS)pvUser; 1728 1728 AssertPtrReturn(pProcess, VERR_INVALID_POINTER); 1729 1729 return vgsvcGstCtrlProcessProcessWorker(pProcess); … … 1748 1748 * @param pStartupInfo Startup info. 1749 1749 * @param uContextID Context ID to associate the process to start with. 1750 1751 1750 */ 1752 1751 int VGSvcGstCtrlProcessStart(const PVBOXSERVICECTRLSESSION pSession, -
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceControlSession.cpp
r58042 r58089 1592 1592 * 1593 1593 * @return VBox status code. 1594 * @param pSession The guest session. 1594 1595 * @param pbAllowed True if starting (another) guest process 1595 1596 * is allowed, false if not. -
trunk/src/VBox/Additions/common/VBoxService/VBoxServicePageSharing.cpp
r58052 r58089 300 300 /** 301 301 * Inspect all loaded modules for the specified process 302 * 302 303 * @param dwProcessId Process id 304 * @param ppNewTree The module tree we're assembling from modules found 305 * in this process. Modules found are moved from 306 * g_pKnownModuleTree or created new. 303 307 */ 304 308 static void vgsvcPageSharingInspectModules(DWORD dwProcessId, PAVLPVNODECORE *ppNewTree) -
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceToolBox.cpp
r58029 r58089 967 967 968 968 /** 969 * Report the result of a vbox_mktemp operation - either errors to stderr (not 970 * machine-readable) or everything to stdout as <name>\0<rc>\0 (machine- 971 * readable format). The message may optionally contain a '%s' for the file 972 * name and an %Rrc for the result code in that order. In future a "verbose" 973 * flag may be added, without which nothing will be output in non-machine- 974 * readable mode. Sets prc if rc is a non-success code. 969 * Report the result of a vbox_mktemp operation. 970 * 971 * Either errors to stderr (not machine-readable) or everything to stdout as 972 * {name}\0{rc}\0 (machine- readable format). The message may optionally 973 * contain a '%s' for the file name and an %Rrc for the result code in that 974 * order. In future a "verbose" flag may be added, without which nothing will 975 * be output in non-machine- readable mode. Sets prc if rc is a non-success 976 * code. 975 977 */ 976 978 static void toolboxMkTempReport(const char *pcszMessage, const char *pcszFile, -
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceUtils.cpp
r58031 r58089 269 269 * @returns VBox status code. 270 270 * @param pszFilename ASCII & ANSI & UTF-8 compliant name. 271 * @param pdwMajor Where to return the major version number. 272 * @param pdwMinor Where to return the minor version number. 273 * @param pdwBuildNumber Where to return the build number. 274 * @param pdwRevisionNumber Where to return the revision number. 271 275 */ 272 276 static int vgsvcUtilGetFileVersion(const char *pszFilename, PDWORD pdwMajor, PDWORD pdwMinor, PDWORD pdwBuildNumber, … … 347 351 * 348 352 * @param pszPath The base path. 349 * @param pszFil aname The filename.353 * @param pszFilename The filename. 350 354 * @param pszVersion Where to return the version string. 351 355 * @param cbVersion The size of the version string buffer. This MUST be -
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceVMInfo-win.cpp
r58031 r58089 607 607 * vgsvcVMInfoWinProcessesEnumerate() before. 608 608 * 609 * @param paProcs What 609 * @param cProcs Number of processes in paProcs. 610 * @param paProcs The process array. 610 611 */ 611 612 static void vgsvcVMInfoWinProcessesFree(DWORD cProcs, PVBOXSERVICEVMINFOPROC paProcs) 612 613 { 613 614 for (DWORD i = 0; i < cProcs; i++) 614 {615 615 if (paProcs[i].pSid) 616 616 { … … 618 618 paProcs[i].pSid = NULL; 619 619 } 620 621 }622 620 RTMemFree(paProcs); 623 621 } … … 627 625 * 628 626 * @returns Number of processes found for a specified session. 629 * @param pSession The current user's SID. 630 * @param paProcs The process snapshot. 631 * @param cProcs The number of processes in the snaphot. 632 * @param puSession Looked up session number. Optional. 627 * @param pSession The current user's SID. 628 * @param paProcs The process snapshot. 629 * @param cProcs The number of processes in the snaphot. 630 * @param puTerminalSession Where to return terminal session number. 631 * Optional. 633 632 */ 634 static uint32_t vgsvcVMInfoWinSessionHasProcesses(PLUID pSession, 635 P VBOXSERVICEVMINFOPROC const paProcs, DWORD cProcs, PULONG puTerminalSession)633 static uint32_t vgsvcVMInfoWinSessionHasProcesses(PLUID pSession, PVBOXSERVICEVMINFOPROC const paProcs, DWORD cProcs, 634 PULONG puTerminalSession) 636 635 { 637 636 if (!pSession) … … 1063 1062 * 1064 1063 * @returns VBox status code. 1065 * @param pCach ceProperty cache to use for storing some of the lookup1064 * @param pCache Property cache to use for storing some of the lookup 1066 1065 * data in between calls. 1067 1066 * @param ppszUserList Where to store the user list (separated by commas).
Note:
See TracChangeset
for help on using the changeset viewer.