#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. |
Definition in file dma_debug.h.
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.
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().