wut  1.0.0-beta9
Wii U Toolchain
mem.h
Go to the documentation of this file.
1 #pragma once
2 #include <wut.h>
3 #include "sync.h"
4 
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14 
16 typedef enum
17 {
26 } DMAESwapMode;
27 
47 DMAECopyMem(void *dst,
48  const void *src,
49  uint32_t wordCount,
50  DMAESwapMode swap);
51 
68 DMAEFillMem(void *dst,
69  uint32_t val,
70  uint32_t wordCount);
71 
72 #ifdef __cplusplus
73 }
74 #endif
75 
DMAETimeStamp
uint64_t DMAETimeStamp
Timestamp for a DMAE operation.
Definition: sync.h:15
DMAE_SWAP_NONE
@ DMAE_SWAP_NONE
No memory swapping.
Definition: mem.h:19
sync.h
DMAE_SWAP_16
@ DMAE_SWAP_16
16 bit memory swapping.
Definition: mem.h:21
wut.h
DMAESwapMode
DMAESwapMode
DMAE Memory endian swappng mode.
Definition: mem.h:16
DMAE_SWAP_32
@ DMAE_SWAP_32
32 bit memory swapping.
Definition: mem.h:23
DMAEFillMem
DMAETimeStamp DMAEFillMem(void *dst, uint32_t val, uint32_t wordCount)
Starts a DMAE fill operation.
DMAE_SWAP_64
@ DMAE_SWAP_64
64 bit memory swapping.
Definition: mem.h:25
DMAECopyMem
DMAETimeStamp DMAECopyMem(void *dst, const void *src, uint32_t wordCount, DMAESwapMode swap)
Starts a DMAE copy operation.