7#define WAIT_ON_IOBUSY(var) \
8 var = HW_REG(PI_STATUS_REG, u32); \
9 while (var & PI_STATUS_IOBUSY) \
10 var = HW_REG(PI_STATUS_REG, u32);
s32 __osEPiRawReadIo(OSPiHandle *arg0, u32 devAddr, u32 *data)
Definition __osEPiRawReadIo.c:4
void __osSetGlobalIntMask(s32 arg0)
Definition __osSetGlobalIntMask.c:5
void __osResetGlobalIntMask(u32 mask)
Definition __osResetGlobalIntMask.c:4
s32 osEPiRawStartDma(OSPiHandle *arg0, s32 dir, u32 cart_addr, void *dram_addr, u32 size)
Definition osEPiRawStartDma.c:14
volatile u32 __OSGlobalIntMask
Definition osInitialize.c:18
OSPiHandle * __osDiskHandle
Definition osLeoDiskInit.c:12
void __osEPiRawWriteIo(OSPiHandle *, u32, u32)
Definition __osEPiRawWriteIo.c:4
signed int s32
Definition ultratypes.h:15
unsigned int u32
Definition ultratypes.h:16