wut  1.0.0-beta9
Wii U Toolchain
Enumerations | Functions
Memory Operations

Enumerations

enum  DMAESwapMode {
  DMAE_SWAP_NONE = 0,
  DMAE_SWAP_16 = 1,
  DMAE_SWAP_32 = 2,
  DMAE_SWAP_64 = 3
}
 DMAE Memory endian swappng mode. More...
 

Functions

DMAETimeStamp DMAECopyMem (void *dst, const void *src, uint32_t wordCount, DMAESwapMode swap)
 Starts a DMAE copy operation. More...
 
DMAETimeStamp DMAEFillMem (void *dst, uint32_t val, uint32_t wordCount)
 Starts a DMAE fill operation. More...
 

Detailed Description

Enumeration Type Documentation

◆ DMAESwapMode

DMAE Memory endian swappng mode.

Enumerator
DMAE_SWAP_NONE 

No memory swapping.

DMAE_SWAP_16 

16 bit memory swapping.

DMAE_SWAP_32 

32 bit memory swapping.

DMAE_SWAP_64 

64 bit memory swapping.

Definition at line 16 of file mem.h.

Function Documentation

◆ DMAECopyMem()

DMAETimeStamp DMAECopyMem ( void *  dst,
const void *  src,
uint32_t  wordCount,
DMAESwapMode  swap 
)

Starts a DMAE copy operation.

Parameters
dstPointer to the destination buffer.
srcPointer to the source buffer.
wordCountNumber of 32 bit words to copy.
swapMemory endian swapping mode.
Returns
DMAE operations queue timestamp.

◆ DMAEFillMem()

DMAETimeStamp DMAEFillMem ( void *  dst,
uint32_t  val,
uint32_t  wordCount 
)

Starts a DMAE fill operation.

Parameters
dstPointer to the destination buffer.
valThe value to fill the destination buffer.
wordCountNumber of 32 bit words to fill.
Returns
DMAE operations queue timestamp.