#if !defined(FIFO_H) #define FIFO_H #define REG_IPCFIFOCNT (*(vu16*)0x4000184) #define REG_IPCFIFOSEND (*(vu32*)0x4000188) #define REG_IPCFIFORECV (*(vu32*)0x4100000) #define IPC_FIFO_SEND_EMPTY (1<<0) #define IPC_FIFO_SEND_FULL (1<<1) #define IPC_FIFO_SEND_IRQ (1<<2) #define IPC_FIFO_SEND_CLEAR (1<<3) #define IPC_FIFO_RECV_EMPTY (1<<8) #define IPC_FIFO_RECV_FULL (1<<9) #define IPC_FIFO_RECV_IRQ (1<<10) #define IPC_FIFO_ERROR (1<<14) #define IPC_FIFO_ENABLE (1<<15) #endif