Data Fields

RingIOShm_Params_Tag Struct Reference

Structure defining parameters for creating the RingIOShm instances. More...

#include <RingIOShm.h>

Collaboration diagram for RingIOShm_Params_Tag:
Collaboration graph
[legend]

Data Fields

RingIO_Params commonParams
UInt16 ctrlRegionId
UInt16 dataRegionId
UInt16 attrRegionId
Ptr ctrlSharedAddr
Ptr dataSharedAddr
UInt32 dataSharedAddrSize
UInt32 footBufSize
Ptr attrSharedAddr
UInt32 attrSharedAddrSize
GateMP_Handle gateHandle
GateMP_LocalProtect localProtect
GateMP_RemoteProtect remoteProtect
UInt16 remoteProcId

Detailed Description

Structure defining parameters for creating the RingIOShm instances.


Field Documentation

Common create parameters .Same for all the implementations of RingIO

Shared region ID for RingIOShm control structures

The index corresponding to the shared region from which shared memory will be allocated if ctrlSharedAddr is NULL. If a valid ctrlSharedAddr is provided, this field is ignored.

Shared region ID for RingIOShm data buffer

The index corresponding to the shared region from which shared memory will be allocated if dataSharedAddr is NULL. If a valid dataSharedAddr is provided, this field is ignored.

Shared region ID for RingIOShm attr buffer

The index corresponding to the shared region from which shared memory will be allocated if attrSharedAddr is NULL. If a valid attrSharedAddr is provided, this field is ignored.

Shared region address for control structure. If this field is NULL, memory equal to that required to allocate the RingIOShm instance control structure is allocated from heap associated with ctrlRegionId

Shared Region Address for data buffer If this field is NULL, memory equal to (dataSharedAddrSize + footBufSize) is allocated from heap associated with dataRegionId

Data Buffer size.

Foot Buffer size.

Shared Region Address for attr buffer If this field is NULL, memory equal to attrSharedAddrSize is allocated from heap associated with attrRegionId

Attr Buffer size.

Gate for protection. If gateHandle is NULL, the default GateMP instance provided by the GateMP module is used.

Local protection level for the module instance.(not used currently)

Remote protection level for the module instance.(not used currently)

Remote processor id with which the RingIOShm communicates


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Copyright 2012, Texas Instruments Incorporated