81 #ifndef ti_ipc_GateMP__include
82 #define ti_ipc_GateMP__include
84 #if defined (__cplusplus)
96 #define GateMP_S_BUSY (2)
101 #define GateMP_S_ALREADYSETUP (1)
106 #define GateMP_S_SUCCESS (0)
111 #define GateMP_E_FAIL (-1)
116 #define GateMP_E_INVALIDARG (-2)
121 #define GateMP_E_MEMORY (-3)
126 #define GateMP_E_ALREADYEXISTS (-4)
131 #define GateMP_E_NOTFOUND (-5)
136 #define GateMP_E_TIMEOUT (-6)
141 #define GateMP_E_INVALIDSTATE (-7)
145 #define GateMP_E_OSFAILURE (-8)
149 #define GateMP_E_RESOURCE (-9)
153 #define GateMP_E_RESTART (-10)
346 Int
GateMP_open(String name, GateMP_Handle *handlePtr);
349 Int GateMP_openByAddr(Ptr sharedAddr, GateMP_Handle *handlePtr);
396 #if defined (__cplusplus)
Structure defining parameters for the GateMP module.
Definition: GateMP.h:229
Int GateMP_delete(GateMP_Handle *handlePtr)
Delete a created GateMP instance.
GateMP_RemoteProtect
Type of remote Gate.
Definition: GateMP.h:204
Int GateMP_open(String name, GateMP_Handle *handlePtr)
Open a created GateMP by name.
struct GateMP_Object * GateMP_Handle
GateMP_Handle type.
Definition: GateMP.h:224
GateMP_LocalProtect localProtect
Definition: GateMP.h:266
UInt16 regionId
Definition: GateMP.h:241
String name
Definition: GateMP.h:230
Int GateMP_close(GateMP_Handle *handlePtr)
Close an opened gate.
Void GateMP_leave(GateMP_Handle handle, IArg key)
Leave the GateMP.
GateMP_LocalProtect
A set of local context protection levels.
Definition: GateMP.h:172
GateMP_Handle GateMP_getDefaultRemote(Void)
Get the default remote gate.
GateMP_LocalProtect GateMP_getLocalProtect(GateMP_Handle handle)
Get the local protection level configured in a GateMP instance.
IArg GateMP_enter(GateMP_Handle handle)
Enter the GateMP.
GateMP_RemoteProtect remoteProtect
Definition: GateMP.h:272
GateMP_RemoteProtect GateMP_getRemoteProtect(GateMP_Handle handle)
Get the remote protection level configured in a GateMP instance.
struct GateMP_Params GateMP_Params
Structure defining parameters for the GateMP module.
Void GateMP_Params_init(GateMP_Params *params)
Initialize a GateMP parameters struct.
GateMP_Handle GateMP_create(const GateMP_Params *params)
Create a GateMP instance.