wut  v1.7.0
Wii U Toolchain
Enumerations | Functions
Memory Operations
Collaboration diagram for 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...
 
DMAETimeStamp DMAEFillMemPhys (void *dst, uint32_t val, uint32_t wordCount)
 Starts a DMAE fill operation for a physical address. 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.

◆ DMAEFillMemPhys()

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

Starts a DMAE fill operation for a physical address.

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