Data Structures

mplistdefs.h File Reference

#include <dsplink.h>
#include <mpcsdefs.h>
Include dependency graph for gpp/inc/mplistdefs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  MPLIST_Attrs_tag
struct  MPLIST_Header_tag
struct  MPLIST_List_tag
struct  MPLIST_Entry_tag
struct  MPLIST_Ctrl_tag
struct  MPLIST_MemInfo_tag

Typedefs

MPLIST_Attrs

This structure defines the MPLIST Creation Parameters.

============================================================================

Parameters:
poolIdPool to be used to allocate memory for MPLIST data structures. ============================================================================
typedef struct MPLIST_Attrs_tag MPLIST_Attrs
MPLIST_Handle

Handle to the MPLIST object. ============================================================================

============================================================================

typedef void * MPLIST_Handle
MPLIST_Header

An element of a list.

============================================================================

Parameters:
nextNext node pointer.
prevPrevious node pointer. ============================================================================
typedef struct MPLIST_Header_tag MPLIST_Header
MPLIST_Elem

This type is used for the handle to the shared list entry structure. ============================================================================

============================================================================

typedef MPLIST_HeaderMPLIST_Elem
MPLIST_List

Definition of a MPLIST.

============================================================================

Parameters:
headHead of the list.
paddingPadding for alignment.
mpcsObjMPCS object used for protection of the list. ============================================================================
typedef struct MPLIST_List_tag MPLIST_List
MPLIST_Entry

MPLIST descriptor entry for each MPLIST in the system.

============================================================================

Parameters:
ownerProcIdProcessor ID of the creator of the MpList.
poolIdPool id to be used to allocate memory for all MpList data structures.
phyListHandleHandle of the MpList in Physical (DSP) address space.
nameSystem wide unique identifier for the MpList.
paddingPadding to make stucture cache aligned. ============================================================================
typedef struct MPLIST_Entry_tag MPLIST_Entry
MPLIST_Ctrl

This structure defines the control structure required by the MPLIST component. It contains information about all MPLIST objects shared between the GPP and a specific DSP.

============================================================================

Parameters:
isInitializedFlag to indicate if this region was initialized.
dspIdID of the DSP with which the MPLIST region is shared.
maxEntriesMaximum number of MPLIST instances supported by the MPLIST.
ipsIdID of the IPS to be used (if any). A value of -1 indicates that no IPS is required by the MPLIST.
ipsEventNoIPS Event number associated with MPLIST (if any). A value of -1 indicates that no IPS is required by the MPLIST.
dspAddrEntryPointer to array in DSP address space of MPLIST objects that can be created.
paddingPadding.
lockObjLock used to protect the shared MPLIST control region from multiple simultaneous accesses. ============================================================================
typedef struct MPLIST_Ctrl_tag MPLIST_Ctrl
MPLIST_MemInfo

Entry structure for the MpList data transport

============================================================================

Parameters:
physAddrPhysical address of the memory region for MpList
kernAddrKernel address of the memory region for MpList
userAddrUser address of the memory region for MpList
sizeSize of the memory region for MpList ============================================================================
typedef struct MPLIST_MemInfo_tag MPLIST_MemInfo

Typedef Documentation

typedef void* MPLIST_Handle
typedef struct MPLIST_List_tag MPLIST_List
typedef struct MPLIST_Ctrl_tag MPLIST_Ctrl
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Copyright 2012, Texas Instruments Incorporated