Changeset 43036 in vbox for trunk/src/VBox/Main/include
- Timestamp:
- Aug 28, 2012 1:22:39 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/GuestCtrlImplPrivate.h
r42897 r43036 38 38 39 39 /** Maximum number of guest sessions a VM can have. */ 40 #define VBOX_GUESTCTRL_MAX_SESSIONS 25540 #define VBOX_GUESTCTRL_MAX_SESSIONS 32 41 41 /** Maximum number of guest objects (processes, files, ...) 42 42 * a guest session can have. */ 43 #define VBOX_GUESTCTRL_MAX_OBJECTS 25543 #define VBOX_GUESTCTRL_MAX_OBJECTS _2K 44 44 /** Maximum of callback contexts a guest process can have. */ 45 #define VBOX_GUESTCTRL_MAX_CONTEXTS _64K - 145 #define VBOX_GUESTCTRL_MAX_CONTEXTS _64K 46 46 47 47 /** Builds a context ID out of the session ID, object ID and an 48 48 * increasing count. */ 49 49 #define VBOX_GUESTCTRL_CONTEXTID_MAKE(uSession, uObject, uCount) \ 50 ( (uint32_t)((uSession) & 0x ff) << 24\51 | (uint32_t)((uObject) & 0xff) << 16 \50 ( (uint32_t)((uSession) & 0x1f) << 27 \ 51 | (uint32_t)((uObject) & 0x7ff) << 16 \ 52 52 | (uint32_t)((uCount) & 0xffff) \ 53 53 ) 54 54 /** Gets the session ID out of a context ID. */ 55 55 #define VBOX_GUESTCTRL_CONTEXTID_GET_SESSION(uContextID) \ 56 ((uContextID) >> 2 4)56 ((uContextID) >> 27) 57 57 /** Gets the process ID out of a context ID. */ 58 58 #define VBOX_GUESTCTRL_CONTEXTID_GET_OBJECT(uContextID) \ 59 (((uContextID) >> 16) & 0x ff)59 (((uContextID) >> 16) & 0x7ff) 60 60 /** Gets the conext count of a process out of a context ID. */ 61 61 #define VBOX_GUESTCTRL_CONTEXTID_GET_COUNT(uContextID) \
Note:
See TracChangeset
for help on using the changeset viewer.