#if !defined(TRANSFER_H) #define TRANSFER_H #include "command.h" /* Quick and dirty code to allow the ARM7 to inform the ARM9 of the current values of the FIFO registers */ struct ARM7_FIFO { uint32 cnt; uint32 send; uint32 recv; }; #define arm7_fifo ((ARM7_FIFO*)((uint32)(IPC)+sizeof(TransferRegion)+sizeof(CommandControl))) #endif