Changeset 75883 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- Dec 2, 2018 8:58:27 PM (6 years ago)
- Location:
- trunk/src/VBox/Runtime/r3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/posix/shmem-posix.cpp
r75881 r75883 47 47 #include <limits.h> 48 48 49 /* *Workaround on systems which do not provide this. */49 /* Workaround on systems which do not provide this. */ 50 50 #ifndef NAME_MAX 51 51 # define NAME_MAX 255 52 52 #endif 53 53 54 54 55 /********************************************************************************************************************************* 55 56 * Structures and Typedefs * … … 64 65 volatile uint32_t cMappings; 65 66 /** Pointer to the region mapping. */ 66 void 67 void *pvMapping; 67 68 /** Start offset */ 68 69 size_t offRegion; … … 85 86 /** Magic value (RTSHMEM_MAGIC). */ 86 87 uint32_t u32Magic; 87 /** Pointer to the shared memory object name. */88 char *pszName;89 88 /** File descriptor for the underlying shared memory object. */ 90 89 int iFdShm; 90 /** Pointer to the shared memory object name. */ 91 char *pszName; 91 92 /** Flag whether this instance created the named shared memory object. */ 92 93 bool fCreate; … … 104 105 105 106 106 /*********************************************************************************************************************************107 * Internal Functions *108 *********************************************************************************************************************************/109 110 107 111 108 /** -
trunk/src/VBox/Runtime/r3/win/shmem-win.cpp
r75879 r75883 62 62 #endif 63 63 64 64 65 /********************************************************************************************************************************* 65 66 * Structures and Typedefs * … … 74 75 volatile uint32_t cMappings; 75 76 /** Pointer to the region mapping. */ 76 void 77 void *pvMapping; 77 78 /** Start offset */ 78 79 size_t offRegion; … … 95 96 /** Magic value (RTSHMEM_MAGIC). */ 96 97 uint32_t u32Magic; 98 /** Flag whether this instance created the named shared memory object. */ 99 bool fCreate; 97 100 /** Handle to the underlying mapping object. */ 98 101 HANDLE hShmObj; 99 /** Flag whether this instance created the named shared memory object. */100 bool fCreate;101 102 /** Size of the mapping object in bytes. */ 102 103 size_t cbMax; … … 114 115 115 116 116 /*********************************************************************************************************************************117 * Internal Functions *118 *********************************************************************************************************************************/119 117 120 118
Note:
See TracChangeset
for help on using the changeset viewer.