#include <dsplink.h>
#include <mpcsdefs.h>
Include dependency graph for gpp/inc/mpcs.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Defines | |
#define | MPCS_H |
Functions | |
EXPORT_API DSP_STATUS | MPCS_create (IN ProcessorId procId, IN Pstr name, IN MPCS_ShObj *mpcsShObj, IN MPCS_Attrs *attrs) |
This function creates and initializes an instance of the MPCS object. The memory for the object may or may not be provided by the user. If provided by the user, the memory for the object must be shared across the processors using the MPCS. It must also already be mapped into user space for OSes supporting user/kernel separation. | |
EXPORT_API DSP_STATUS | MPCS_delete (IN ProcessorId procId, IN Pstr name) |
This function deletes the instance of the MPCS object. | |
EXPORT_API DSP_STATUS | MPCS_open (IN ProcessorId procId, IN Pstr name, OUT MPCS_Handle *mpcsHandle) |
This function opens an MPCS object specified by its name and gets a handle to the object. Every process that needs to use the MPCS object must get a handle to the object by calling this API. | |
EXPORT_API DSP_STATUS | MPCS_close (IN ProcessorId procId, IN MPCS_Handle mpcsHandle) |
This function closes an MPCS object specified by its handle. | |
EXPORT_API DSP_STATUS | MPCS_enter (IN MPCS_Handle mpcsHandle) |
This function enters the critical section specified by the MPCS object. | |
EXPORT_API DSP_STATUS | MPCS_leave (IN MPCS_Handle mpcsHandle) |
This function leaves the critical section specified by the MPCS object. |
|
Definition at line 45 of file gpp/inc/mpcs.h. |
|
This function closes an MPCS object specified by its handle. ============================================================================
|
|
This function creates and initializes an instance of the MPCS object. The memory for the object may or may not be provided by the user. If provided by the user, the memory for the object must be shared across the processors using the MPCS. It must also already be mapped into user space for OSes supporting user/kernel separation. ============================================================================
|
|
This function deletes the instance of the MPCS object. ============================================================================
|
|
This function enters the critical section specified by the MPCS object. ============================================================================
|
|
This function leaves the critical section specified by the MPCS object. ============================================================================
|
|
This function opens an MPCS object specified by its name and gets a handle to the object. Every process that needs to use the MPCS object must get a handle to the object by calling this API. ============================================================================
|