wut/include/dmae/sync.h
rw-r-r-0644 34bfddb581 dmae: Add DMAECopyMem, DMAEFillMem and DMAEWaitDone (#102)
* dmae: Add DMAECopyMem, DMAEFillMem and DMAEWaitDone

* tests: Add dmae to header compile test list
2019-02-28 17:10:10 +11:00

34 lines
451 B
C

#pragma once
#include <wut.h>
/**
* \defgroup dmae_sync Synchronization
* \ingroup dmae
* @{
*/
#ifdef __cplusplus
extern "C" {
#endif
//! Timestamp for a DMAE operation.
typedef uint64_t DMAETimeStamp;
/**
* Waits for a DMAE operation to complete.
*
* \param timestamp
* Timestamp of the operation to wait for.
*
* \return
* TRUE when successful.
*/
BOOL
DMAEWaitDone(DMAETimeStamp timestamp);
#ifdef __cplusplus
}
#endif
/** @} */