Changeset 57358 in vbox for trunk/src/VBox/Additions/common/VBoxGuest
- Timestamp:
- Aug 14, 2015 3:16:38 PM (9 years ago)
- Location:
- trunk/src/VBox/Additions/common/VBoxGuest
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuest/VBoxDev-haiku.c
r54608 r57358 45 45 */ 46 46 47 /******************************************************************************* 48 * Header Files * 49 *******************************************************************************/ 47 48 /********************************************************************************************************************************* 49 * Header Files * 50 *********************************************************************************************************************************/ 50 51 #include <sys/param.h> 51 52 #include <sys/types.h> … … 69 70 #define MODULE_NAME "generic/vboxguest" 70 71 71 /******************************************************************************* 72 * Internal Functions * 73 *******************************************************************************/ 72 73 /********************************************************************************************************************************* 74 * Internal Functions * 75 *********************************************************************************************************************************/ 74 76 static status_t VBoxGuestHaikuOpen(const char *name, uint32 flags, void **cookie); 75 77 static status_t VBoxGuestHaikuClose(void *cookie); -
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-darwin.cpp
r54608 r57358 16 16 */ 17 17 18 /******************************************************************************* 19 * Header Files * 20 *******************************************************************************/ 18 19 /********************************************************************************************************************************* 20 * Header Files * 21 *********************************************************************************************************************************/ 21 22 #define LOG_GROUP LOG_GROUP_VBGD 22 23 /* … … 60 61 61 62 62 /******************************************************************************* 63 * Defined Constants And Macros *64 ******************************************************************************* /63 /********************************************************************************************************************************* 64 * Defined Constants And Macros * 65 *********************************************************************************************************************************/ 65 66 66 67 /** The system device node name. */ … … 86 87 87 88 88 /******************************************************************************* 89 * Internal Functions *90 ******************************************************************************* /89 /********************************************************************************************************************************* 90 * Internal Functions * 91 *********************************************************************************************************************************/ 91 92 RT_C_DECLS_BEGIN 92 93 static kern_return_t VbgdDarwinStart(struct kmod_info *pKModInfo, void *pvData); … … 105 106 106 107 107 /******************************************************************************* 108 * Structures and Typedefs *109 ******************************************************************************* /108 /********************************************************************************************************************************* 109 * Structures and Typedefs * 110 *********************************************************************************************************************************/ 110 111 /** 111 112 * The service class for handling the VMMDev PCI device. … … 166 167 167 168 168 /******************************************************************************* 169 * Global Variables *170 ******************************************************************************* /169 /********************************************************************************************************************************* 170 * Global Variables * 171 *********************************************************************************************************************************/ 171 172 /** 172 173 * Declare the module stuff. -
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-haiku.c
r55980 r57358 45 45 */ 46 46 47 /******************************************************************************* 48 * Header Files * 49 *******************************************************************************/ 47 48 /********************************************************************************************************************************* 49 * Header Files * 50 *********************************************************************************************************************************/ 50 51 #define IN_VBOXGUEST 51 52 #include <sys/param.h> -
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-linux.c
r55980 r57358 19 19 */ 20 20 21 /******************************************************************************* 22 * Header Files * 23 *******************************************************************************/ 21 22 /********************************************************************************************************************************* 23 * Header Files * 24 *********************************************************************************************************************************/ 24 25 #define LOG_GROUP LOG_GROUP_SUP_DRV 25 26 … … 50 51 51 52 52 /******************************************************************************* 53 * Defined Constants And Macros *54 ******************************************************************************* /53 /********************************************************************************************************************************* 54 * Defined Constants And Macros * 55 *********************************************************************************************************************************/ 55 56 /** The device name. */ 56 57 #define DEVICE_NAME "vboxguest" … … 68 69 69 70 70 /******************************************************************************* 71 * Internal Functions *72 ******************************************************************************* /71 /********************************************************************************************************************************* 72 * Internal Functions * 73 *********************************************************************************************************************************/ 73 74 static void vboxguestLinuxTermPci(struct pci_dev *pPciDev); 74 75 static int vboxguestLinuxModInit(void); … … 86 87 87 88 88 /******************************************************************************* 89 * Global Variables *90 ******************************************************************************* /89 /********************************************************************************************************************************* 90 * Global Variables * 91 *********************************************************************************************************************************/ 91 92 /** 92 93 * Device extention & session data association structure. -
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-os2.cpp
r54608 r57358 45 45 46 46 47 /******************************************************************************* 48 * Header Files *49 ******************************************************************************* /47 /********************************************************************************************************************************* 48 * Header Files * 49 *********************************************************************************************************************************/ 50 50 #include <os2ddk/bsekee.h> 51 51 … … 63 63 64 64 65 /******************************************************************************* 66 * Global Variables *67 ******************************************************************************* /65 /********************************************************************************************************************************* 66 * Global Variables * 67 *********************************************************************************************************************************/ 68 68 /** 69 69 * Device extention & session data association structure. … … 106 106 107 107 108 /******************************************************************************* 109 * Internal Functions *110 ******************************************************************************* /108 /********************************************************************************************************************************* 109 * Internal Functions * 110 *********************************************************************************************************************************/ 111 111 static int vboxGuestOS2MapMemory(void); 112 112 static VBOXOSTYPE vboxGuestOS2DetectVersion(void); -
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-solaris.c
r56219 r57358 26 26 27 27 28 /******************************************************************************* 29 * Header Files *30 ******************************************************************************* /28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 31 31 #include <sys/conf.h> 32 32 #include <sys/modctl.h> … … 53 53 54 54 55 /******************************************************************************* 56 * Defined Constants And Macros *57 ******************************************************************************* /55 /********************************************************************************************************************************* 56 * Defined Constants And Macros * 57 *********************************************************************************************************************************/ 58 58 /** The module name. */ 59 59 #define DEVICE_NAME "vboxguest" … … 62 62 63 63 64 /******************************************************************************* 65 * Internal Functions *66 ******************************************************************************* /64 /********************************************************************************************************************************* 65 * Internal Functions * 66 *********************************************************************************************************************************/ 67 67 static int VBoxGuestSolarisOpen(dev_t *pDev, int fFlag, int fType, cred_t *pCred); 68 68 static int VBoxGuestSolarisClose(dev_t Dev, int fFlag, int fType, cred_t *pCred); … … 82 82 83 83 84 /******************************************************************************* 85 * Structures and Typedefs *86 ******************************************************************************* /84 /********************************************************************************************************************************* 85 * Structures and Typedefs * 86 *********************************************************************************************************************************/ 87 87 /** 88 88 * cb_ops: for drivers that support char/block entry points … … 159 159 160 160 161 /******************************************************************************* 162 * Global Variables *163 ******************************************************************************* /161 /********************************************************************************************************************************* 162 * Global Variables * 163 *********************************************************************************************************************************/ 164 164 /** Device handle (we support only one instance). */ 165 165 static dev_info_t *g_pDip = NULL; -
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-win-legacy.cpp
r54608 r57358 16 16 */ 17 17 18 /******************************************************************************* 19 * Header Files * 20 *******************************************************************************/ 18 19 /********************************************************************************************************************************* 20 * Header Files * 21 *********************************************************************************************************************************/ 21 22 #include "VBoxGuest-win.h" 22 23 #include "VBoxGuestInternal.h" … … 28 29 29 30 30 /******************************************************************************* 31 * Defined Constants And Macros *32 ******************************************************************************* /31 /********************************************************************************************************************************* 32 * Defined Constants And Macros * 33 *********************************************************************************************************************************/ 33 34 #ifndef PCI_MAX_BUSES 34 35 # define PCI_MAX_BUSES 256 … … 36 37 37 38 38 /******************************************************************************* 39 * Internal Functions *40 ******************************************************************************* /39 /********************************************************************************************************************************* 40 * Internal Functions * 41 *********************************************************************************************************************************/ 41 42 RT_C_DECLS_BEGIN 42 43 static NTSTATUS vbgdNt4FindPciDevice(PULONG pulBusNumber, PPCI_SLOT_NUMBER pSlotNumber); -
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-win-pnp.cpp
r54608 r57358 16 16 */ 17 17 18 /******************************************************************************* 19 * Header Files * 20 *******************************************************************************/ 18 19 /********************************************************************************************************************************* 20 * Header Files * 21 *********************************************************************************************************************************/ 21 22 #include "VBoxGuest-win.h" 22 23 #include "VBoxGuestInternal.h" … … 27 28 28 29 29 /******************************************************************************* 30 * Defined Constants And Macros *31 ******************************************************************************* /30 /********************************************************************************************************************************* 31 * Defined Constants And Macros * 32 *********************************************************************************************************************************/ 32 33 RT_C_DECLS_BEGIN 33 34 static NTSTATUS vbgdNtSendIrpSynchronously(PDEVICE_OBJECT pDevObj, PIRP pIrp, BOOLEAN fStrict); -
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-win.cpp
r54608 r57358 16 16 */ 17 17 18 /******************************************************************************* 19 * Header Files * 20 *******************************************************************************/ 18 19 /********************************************************************************************************************************* 20 * Header Files * 21 *********************************************************************************************************************************/ 21 22 #define LOG_GROUP LOG_GROUP_SUP_DRV 22 23 #include "VBoxGuest-win.h" … … 40 41 41 42 42 /******************************************************************************* 43 * Internal Functions *44 ******************************************************************************* /43 /********************************************************************************************************************************* 44 * Internal Functions * 45 *********************************************************************************************************************************/ 45 46 RT_C_DECLS_BEGIN 46 47 static NTSTATUS vbgdNtAddDevice(PDRIVER_OBJECT pDrvObj, PDEVICE_OBJECT pDevObj); … … 60 61 61 62 62 /******************************************************************************* 63 * Exported Functions *64 ******************************************************************************* /63 /********************************************************************************************************************************* 64 * Exported Functions * 65 *********************************************************************************************************************************/ 65 66 RT_C_DECLS_BEGIN 66 67 ULONG DriverEntry(PDRIVER_OBJECT pDrvObj, PUNICODE_STRING pRegPath); … … 79 80 80 81 81 /******************************************************************************* 82 * Global Variables *83 ******************************************************************************* /82 /********************************************************************************************************************************* 83 * Global Variables * 84 *********************************************************************************************************************************/ 84 85 /** The detected NT (windows) version. */ 85 86 VBGDNTVER g_enmVbgdNtVer = VBGDNTVER_INVALID; -
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest.cpp
r56220 r57358 26 26 27 27 28 /******************************************************************************* 29 * Header Files *30 ******************************************************************************* /28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 31 31 #define LOG_GROUP LOG_GROUP_DEFAULT 32 32 #include "VBoxGuestInternal.h" … … 60 60 61 61 62 /******************************************************************************* 63 * Defined Constants And Macros *64 ******************************************************************************* /62 /********************************************************************************************************************************* 63 * Defined Constants And Macros * 64 *********************************************************************************************************************************/ 65 65 #define VBOXGUEST_ACQUIRE_STYLE_EVENTS (VMMDEV_EVENT_DISPLAY_CHANGE_REQUEST | VMMDEV_EVENT_SEAMLESS_MODE_CHANGE_REQUEST) 66 66 67 67 68 /******************************************************************************* 69 * Internal Functions *70 ******************************************************************************* /68 /********************************************************************************************************************************* 69 * Internal Functions * 70 *********************************************************************************************************************************/ 71 71 #ifdef VBOX_WITH_HGCM 72 72 static DECLCALLBACK(int) vbgdHgcmAsyncWaitCallback(VMMDevHGCMRequestHeader *pHdrNonVolatile, void *pvUser, uint32_t u32User); … … 89 89 90 90 91 /******************************************************************************* 92 * Global Variables *93 ******************************************************************************* /91 /********************************************************************************************************************************* 92 * Global Variables * 93 *********************************************************************************************************************************/ 94 94 static const uint32_t g_cbChangeMemBalloonReq = RT_OFFSETOF(VMMDevChangeMemBalloon, aPhysPage[VMMDEV_MEMORY_BALLOON_CHUNK_PAGES]); 95 95 -
trunk/src/VBox/Additions/common/VBoxGuest/win/VBoxGuestInst.cpp
r56294 r57358 17 17 18 18 19 /******************************************************************************* 20 * Header Files *21 ******************************************************************************* /19 /********************************************************************************************************************************* 20 * Header Files * 21 *********************************************************************************************************************************/ 22 22 #include <windows.h> 23 23
Note:
See TracChangeset
for help on using the changeset viewer.