1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
32 /*!
33 * ======== GROUPUTILS ========
34 * Framework Components Edma3 specific IRES Resman and Protocol Implementation
35 *
36 */
37 @Template("./GROUPUTILS.xdt")
38
39 metaonly module GROUPUTILS {
40
41 /*!
42 * ======== ipcKeyBase ========
43 * Linux only. Base value of keys of Linux IPC objects used by
44 * GROUPUTILS. The IPC objects created by GROUPUTILS will use keys starting
45 * at this
46 * value, and incrementing with each new object. There are currently
47 * three IPC objects, so keys in the range of ipcKeyBase to ipcKeyBase + 2
48 * will be reserved for GROUPUTILS. The default value of ipcKeyBase is
49 * ascii code for "SLIT".
50 *
51 * WARNING: This value should only be changed if it conflicts with
52 * another IPC key in the system that cannot be changed. If this value
53 * is changed, all programs using GROUPUTILS that will be run simultaneously
54 * must have the ipcKeyBase configured to the new value.
55 * @_nodoc
56 */
57 config UInt ipcKeyBase = 0x534C4954;
58
59
60 const Bool autoRegister = true;
61
62
63 config bool debug = false;
64
65
66 config bool trace = false;
67
68
69 config String lockScratchGroupFxn = null;
70
71
72 config String unlockScratchGroupFxn = null;
73
74
75 config String scratchFxnPackage = null;
76
77 /*!
78 * ======== semCreateFxn ========
79 * Function to create semaphores used by various individual resource
80 * manager(s) registered with RMAN.
81 *
82 * Function signature is:
83 * @p(code)
84 * Void * _semCreate(Int key, Int count);
85 */
86 config String semCreateFxn = null;
87
88 /*!
89 * ======== semDeleteFxn ========
90 * Function to delete semaphores used by various individual resource
91 * manager(s) registered with RMAN.
92 *
93 * Function signature is:
94 * @p(code)
95 * Void _semDelete(Void * sem);
96 */
97 config String semDeleteFxn = null;
98
99 /*!
100 * ======== semPendFxn ========
101 * Function to pend on semaphores used by various resource manager(s)
102 * registered with RMAN.
103 *
104 * Function signature is:
105 * @p(code)
106 * Int _semPend(Void * sem, UInt32 timeout);
107 */
108 config String semPendFxn = null;
109
110 /*!
111 * ======== semPostFxn ========
112 * Function to post on Semaphores used by various resource manager(s)
113 * registered with RMAN.
114 *
115 * Function signature is:
116 * @p(code)
117 * Void _semPost(Void * sem);
118 */
119 config String semPostFxn = null;
120 }
121
122 123 124
125