69 #ifndef ti_ipc_MultiProc__include
70 #define ti_ipc_MultiProc__include
72 #if defined (__cplusplus)
84 #define MultiProc_S_BUSY (2)
89 #define MultiProc_S_ALREADYSETUP (1)
94 #define MultiProc_S_SUCCESS (0)
99 #define MultiProc_E_FAIL (-1)
104 #define MultiProc_E_INVALIDARG (-2)
109 #define MultiProc_E_MEMORY (-3)
114 #define MultiProc_E_ALREADYEXISTS (-4)
119 #define MultiProc_E_NOTFOUND (-5)
124 #define MultiProc_E_TIMEOUT (-6)
129 #define MultiProc_E_INVALIDSTATE (-7)
134 #define MultiProc_E_OSFAILURE (-8)
139 #define MultiProc_E_RESOURCE (-9)
144 #define MultiProc_E_RESTART (-10)
154 #define MultiProc_INVALIDID (0xFFFF)
289 #if defined (__cplusplus)
UInt16 MultiProc_getNumProcsInCluster(Void)
Gets the number of processors in the cluster.
String MultiProc_getName(UInt16 id)
Gets the name of a processor.
UInt16 MultiProc_getId(String name)
Gets the MultiProc id.
Int MultiProc_setBaseIdOfCluster(UInt16 id)
Sets executing processor's MultiProc cluster base id.
UInt16 MultiProc_getNumProcessors(Void)
Gets the number of processors.
UInt16 MultiProc_self(Void)
Gets executing processor's MultiProc id.
UInt16 MultiProc_getBaseIdOfCluster(Void)
Gets the base MultiProc id of the cluster.
UInt16 * MultiProc_getClusterProcList(Void)
Return the list of processors in the cluster.
Int MultiProc_rprocSetId(UInt16 procId, UInt rprocId)
Int MultiProc_setLocalId(UInt16 id)
Sets executing processor's MultiProc id.