66#define OS_MESG_PRI_NORMAL 0
67#define OS_MESG_PRI_HIGH 1
s32 osPiWriteIo(uintptr_t devAddr, u32 data)
s32 osPiReadIo(uintptr_t devAddr, u32 *data)
struct OSPiHandle_s OSPiHandle
void osCreatePiManager(OSPri pri, OSMesgQueue *cmdQ, OSMesg *cmdBuf, s32 cmdMsgCnt)
Definition osCreatePiManager.c:23
OSMesgQueue * osPiGetCmdQueue(void)
Definition osPiGetCmdQueue.c:5
s32 osEPiRawStartDma(OSPiHandle *piHandle, s32 dir, u32 cart_addr, void *dram_addr, size_t size)
s32 osPiRawStartDma(s32 dir, u32 cart_addr, void *dram_addr, size_t size)
Definition osPiRawStartDma.c:7
s32 osPiStartDma(OSIoMesg *mb, s32 priority, s32 direction, uintptr_t devAddr, void *vAddr, size_t nbytes, OSMesgQueue *mq)
Definition osPiStartDma.c:5
s32 OSPri
Definition os_thread.h:21
u8 pri
Definition os_pi.h:48
OSMesgQueue * retQueue
Definition os_pi.h:50
u16 type
Definition os_pi.h:47
u8 status
Definition os_pi.h:49
uintptr_t devAddr
Definition os_pi.h:56
OSIoMesgHdr hdr
Definition os_pi.h:54
OSPiHandle * piHandle
Definition os_pi.h:58
void * dramAddr
Definition os_pi.h:55
size_t size
Definition os_pi.h:57
u8 domain
Definition os_pi.h:35
u8 relDuration
Definition os_pi.h:33
u32 speed
Definition os_pi.h:37
u32 baseAddress
Definition os_pi.h:36
__OSTranxInfo transferInfo
Definition os_pi.h:38
u8 pulse
Definition os_pi.h:34
struct OSPiHandle_s * next
Definition os_pi.h:29
u8 type
Definition os_pi.h:30
u8 latency
Definition os_pi.h:31
u8 pageSize
Definition os_pi.h:32
u8 type
Definition os_pi.h:42
uintptr_t address
Definition os_pi.h:43
u32 sectorSize
Definition os_pi.h:11
void * dramAddr
Definition os_pi.h:9
u32 C1ErrNum
Definition os_pi.h:12
void * C2Addr
Definition os_pi.h:10
u16 transferMode
Definition os_pi.h:18
s32 sectorNum
Definition os_pi.h:20
u32 bmCtlShadow
Definition os_pi.h:23
u32 seqCtlShadow
Definition os_pi.h:24
u16 blockNum
Definition os_pi.h:19
uintptr_t devAddr
Definition os_pi.h:21
u32 cmdType
Definition os_pi.h:17
u32 errStatus
Definition os_pi.h:22
signed int s32
Definition ultratypes.h:15
unsigned int u32
Definition ultratypes.h:16
unsigned short int u16
Definition ultratypes.h:14
unsigned char u8
Definition ultratypes.h:12