dma_debug.h File Reference

#include <stdint.h>
#include "../types.h"

Go to the source code of this file.

Functions

void mfc_get_debug (volatile void *ls, uint64_t ea, uint32_t size, uint32_t tag, uint32_t tid, uint32_t rid, char *file, int line)
 Check parameteris before DMS-transfer.
void mfc_put_debug (volatile void *ls, uint64_t ea, uint32_t size, uint32_t tag, uint32_t tid, uint32_t rid, char *file, int line)
 Check parameteris before DMS-transfer.


Detailed Description

Author:
Ruben Niederhagen (ruben@polycephaly.org)

Definition in file dma_debug.h.


Function Documentation

void mfc_get_debug ( volatile void *  ls,
uint64_t  ea,
uint32_t  size,
uint32_t  tag,
uint32_t  tid,
uint32_t  rid,
char *  file,
int  line 
)

Check parameteris before DMS-transfer.

If code is comlied as DEBUG version, all parameters are checked for formal correctness before the DMA-transfer is initiatied. It is checked weather local storage adress and effective address are equaly aligned and if the transfer size matches the requirements.

Parameters:
ls Address in local as for mfc_get.
ea Effective address in main memory es for mfc_get.
size in bytes as for mfc_get.
tag Transfer tag as form mfc_get.
tid tid as for mfc_get.
rid rid as for mfc_get.
file File name of calling sourcefile.
line Linenumber in calling sourcefile.

void mfc_put_debug ( volatile void *  ls,
uint64_t  ea,
uint32_t  size,
uint32_t  tag,
uint32_t  tid,
uint32_t  rid,
char *  file,
int  line 
)

Check parameteris before DMS-transfer.

If code is comlied as DEBUG version, all parameters are checked for formal correctness before the DMA-transfer is initiatied. It is checked weather local storage adress and effective address are equaly aligned and if the transfer size matches the requirements.

See mfc_get_debug().


Generated on Fri Aug 8 14:53:26 2008 for Iolaos by  doxygen 1.5.5