From 80012b48bd9aee217bf0a583340b97f360dd6840 Mon Sep 17 00:00:00 2001 From: Maschell Date: Thu, 7 May 2020 14:34:57 +0200 Subject: [PATCH] Add missing function to dmae/mem.h: DMAEFillMemPhys (#129) - add function DMAEFillMemPhys --- include/dmae/mem.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/include/dmae/mem.h b/include/dmae/mem.h index c976dca9..cf6d66c2 100644 --- a/include/dmae/mem.h +++ b/include/dmae/mem.h @@ -68,6 +68,26 @@ DMAETimeStamp DMAEFillMem(void *dst, uint32_t val, uint32_t wordCount); + +/** + * Starts a DMAE fill operation for a physical address. + * + * \param dst + * Pointer to the destination buffer (physical address). + * + * \param val + * The value to fill the destination buffer. + * + * \param wordCount + * Number of 32 bit words to fill. + * + * \return + * DMAE operations queue timestamp. + */ +DMAETimeStamp +DMAEFillMemPhys(void *dst, + uint32_t val, + uint32_t wordCount); #ifdef __cplusplus }