/*
* Core rank defines.
+ *
+ * ANY RANK USAGE ABOVE RANK_LEAF IS RESERVED BY THE PI GROUP.
*/
#define RANK_UNRANKED 0
* logging code cannot call anything else which requires a lock, but
* everyone else can safely Log() while holding a leaf lock.
*/
-#define RANK_logLock (RANK_LEAF + 1)
+#define RANK_logLock (RANK_LEAF + 2)
+
+/*
+ * overheadMem lock rank.
+ *
+ * Very special case. Don't change it. One must be able to enter
+ * the overheadMem Facility at any rank (RANK_LEAF or lower) and
+ * still be able to acquire a lock in overheadMem *AND* be able
+ * to Log().
+ */
+
+#define RANK_overheadMem (RANK_LEAF + 1)
/*
* bora/lib/allocTrack rank (not really).
0, /* None. */
L"VMCI sockets STREAM" /* Protocol name. */
},
- {
- /* XXX, should this also be XP1_MESSAGE_ORIENTED? */
- (XP1_GUARANTEED_DELIVERY | /* Guaranteed delivery. */
- XP1_GUARANTEED_ORDER | /* Guaranteed order. */
- XP1_GRACEFUL_CLOSE), /* Graceful close. */
- 0, /* Reserved. */
- 0, /* Reserved. */
- 0, /* Reserved. */
- PFL_MATCHES_PROTOCOL_ZERO, /* Always protocol 0. */
- { 0 }, /* None. */
- 0, /* Assigned by Winsock. */
- { 1, 0 }, /* Base provider. */
- 0, /* Version 0. */
- VMCI_SOCKETS_AF_VALUE, /* VMCI sockets protocol. */
- 16, /* Maximum address length in bytes. */
- 16, /* Minimum address length in bytes. */
- SOCK_SEQPACKET, /* SEQPACKET. */
- 0, /* Protocol. */
- 0, /* Protocol max offset. */
- BIGENDIAN, /* Network byte order. */
- SECURITY_PROTOCOL_NONE, /* No security. */
- 0, /* Message size unimportant. */
- 0, /* None. */
- L"VMCI sockets SEQPACKET" /* Protocol name. */
- },
};
__declspec(selectany) extern const