diff options
author | Revo <projectrevotpp@hotmail.com> | 2021-07-22 20:46:10 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-22 20:46:10 -0400 |
commit | b5b9e57dcb55ee1a69ca86c30e90475bb80e3c28 (patch) | |
tree | 2e91e60bdb7a9174b16d8ca1b532809d4ae2e5b6 /arm9/lib/include/MI_dma_gxcommand.h | |
parent | c2d91a2d997afd01fa4f40e1e16d5ee85557c9a8 (diff) | |
parent | 5bf13c7f48fe91c7902ce50250bc1a5a2398a2ae (diff) |
Merge pull request #435 from red031000/master
separate out libs to libc, libnns and NitroSDK
Diffstat (limited to 'arm9/lib/include/MI_dma_gxcommand.h')
-rw-r--r-- | arm9/lib/include/MI_dma_gxcommand.h | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/arm9/lib/include/MI_dma_gxcommand.h b/arm9/lib/include/MI_dma_gxcommand.h deleted file mode 100644 index 7cc32ba2..00000000 --- a/arm9/lib/include/MI_dma_gxcommand.h +++ /dev/null @@ -1,34 +0,0 @@ -#ifndef POKEDIAMOND_MI_DMA_GXCOMMAND_H -#define POKEDIAMOND_MI_DMA_GXCOMMAND_H - -#include "consts.h" -#include "MI_dma.h" -#include "GX_g3x.h" - -#define MIi_GX_LENGTH_ONCE (118 * sizeof(u32)) -#define REG_GXFIFO_ADDR 0x4000400 -#define MI_CNT_SEND32(size) (0x84400000 | (size/4)) -#define MI_CNT_SEND32_IF(size) (0xc4400000 | (size/4)) -#define MI_CNT_GXCOPY_IF(size) (0xfc400000 | (size/4)) - -#define OS_IE_GXFIFO 0x200000 - -typedef struct -{ - volatile BOOL isBusy; - - u32 dmaNo; - u32 src; - u32 length; - MIDmaCallback callback; - void *arg; - - GXFifoIntrCond fifoCond; - void (*fifoFunc) (void); -} MIiGXDmaParams; - -void MI_SendGXCommand(u32 dmaNo, const void *src, u32 commandLength); -void MI_SendGXCommandAsync(u32 dmaNo, const void *src, u32 commandLength, MIDmaCallback callback, void *arg); -void MI_SendGXCommandAsyncFast(u32 dmaNo, const void *src, u32 commandLength, MIDmaCallback callback, void *arg); - -#endif //POKEDIAMOND_MI_DMA_GXCOMMAND_H |