EDMA3 Driver Porting
I-A-95
/**
* \brief Semaphore Attributes Data Structure
*
* Data structure for Semaphore Attributes
*/
typedef struct
{
EDMA3_OS_SemType type;
unsigned int memSegId;
}EDMA3_OS_SemAttrs;
/**
* \brief SoC specific TC related information. Specified in the sample
* configuration file (bios_edma3_sample_cfg.c).
*/
extern unsigned int numEdma3Tc;
extern unsigned int ccXferCompInt;
extern unsigned int ccErrorInt;
extern unsigned int tcErrorInt[8];
extern unsigned int hwInt;
/**
* \brief EDMA3 Initialization
* This function initializes the EDMA3 Driver and registers the interrupt handlers.
* \return EDMA3_DRV_SOK if success, else error code
*/
EDMA3_DRV_Result edma3init (void);
/**
* \brief EDMA3 De-initialization
* This function removes the EDMA3 RM Instance and unregisters the
* interrupt handlers. It also deletes the RM Object.
* \return EDMA3_DRV_SOK if success, else error code
*/
EDMA3_DRV_Result edma3deinit (void);
/**
* \brief EDMA3 Cache Invalidate
*
* This function invalidates the D cache.
*
* \param mem_start_ptr [IN] Starting adress of memory.
* Please note that this should be
* aligned according to the cache line size.
* \param num_bytes [IN] length of buffer
* \return EDMA3_DRV_SOK if success, else error code in case of error
* or non-alignment of buffers.
*
* Note: This function is required if the buffer is in DDR.
* For other cases, where buffer is NOT in DDR, user
* may or may not require the below implementation and
* should modify it according to her need.
*/
EDMA3_DRV_Result Edma3_CacheInvalidate(unsigned int mem_start_ptr,
unsigned int num_bytes);
Summary of Contents for EDMA3
Page 12: ......
Page 17: ...EDMA3 Driver Introduction I 1 5 ...
Page 20: ......
Page 40: ...Run Time Interfaces Integration Guide A 12 EDMA3_DRV_IOCTL_MAX_IOCTL Max IOCTL ...
Page 75: ...Run Time Interfaces Integration Guide I A 47 Errors EDMA3_DRV_E_INVALID_PARAM ...
Page 107: ...Run Time Interfaces Integration Guide I A 79 ...