mirror of
https://github.com/wiiu-env/wut.git
synced 2025-01-08 14:30:41 +01:00
34bfddb581
* dmae: Add DMAECopyMem, DMAEFillMem and DMAEWaitDone * tests: Add dmae to header compile test list
34 lines
451 B
C
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
|
|
|
|
/** @} */
|