79 #ifndef ti_ipc_GateMP__include
80 #define ti_ipc_GateMP__include
82 #if defined (__cplusplus)
94 #define GateMP_S_BUSY (2)
99 #define GateMP_S_ALREADYSETUP (1)
104 #define GateMP_S_SUCCESS (0)
109 #define GateMP_E_FAIL (-1)
114 #define GateMP_E_INVALIDARG (-2)
119 #define GateMP_E_MEMORY (-3)
124 #define GateMP_E_ALREADYEXISTS (-4)
129 #define GateMP_E_NOTFOUND (-5)
134 #define GateMP_E_TIMEOUT (-6)
139 #define GateMP_E_INVALIDSTATE (-7)
143 #define GateMP_E_OSFAILURE (-8)
147 #define GateMP_E_RESOURCE (-9)
151 #define GateMP_E_RESTART (-10)
344 Int
GateMP_open(String name, GateMP_Handle *handlePtr);
347 Int GateMP_openByAddr(Ptr sharedAddr, GateMP_Handle *handlePtr);
394 #if defined (__cplusplus)
Structure defining parameters for the GateMP module.
Definition: GateMP.h:227
Int GateMP_delete(GateMP_Handle *handlePtr)
Delete a created GateMP instance.
GateMP_RemoteProtect
Type of remote Gate.
Definition: GateMP.h:202
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:222
GateMP_LocalProtect localProtect
Definition: GateMP.h:264
UInt16 regionId
Definition: GateMP.h:239
String name
Definition: GateMP.h:228
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:170
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:270
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.