Mario Kart 64
Loading...
Searching...
No Matches
os_pi.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  __OSBlockInfo
 
struct  __OSTranxInfo
 
struct  OSPiHandle_s
 
struct  OSPiInfo
 
struct  OSIoMesgHdr
 
struct  OSIoMesg
 

Macros

#define OS_READ   0
 
#define OS_WRITE   1
 
#define OS_MESG_PRI_NORMAL   0
 
#define OS_MESG_PRI_HIGH   1
 

Typedefs

typedef struct OSPiHandle_s OSPiHandle
 

Functions

s32 osPiStartDma (OSIoMesg *mb, s32 priority, s32 direction, uintptr_t devAddr, void *vAddr, size_t nbytes, OSMesgQueue *mq)
 
void osCreatePiManager (OSPri pri, OSMesgQueue *cmdQ, OSMesg *cmdBuf, s32 cmdMsgCnt)
 
OSMesgQueue * osPiGetCmdQueue (void)
 
s32 osPiWriteIo (uintptr_t devAddr, u32 data)
 
s32 osPiReadIo (uintptr_t devAddr, u32 *data)
 
s32 osPiRawStartDma (s32 dir, u32 cart_addr, void *dram_addr, size_t size)
 
s32 osEPiRawStartDma (OSPiHandle *piHandle, s32 dir, u32 cart_addr, void *dram_addr, size_t size)
 

Macro Definition Documentation

◆ OS_MESG_PRI_HIGH

#define OS_MESG_PRI_HIGH   1

◆ OS_MESG_PRI_NORMAL

#define OS_MESG_PRI_NORMAL   0

◆ OS_READ

#define OS_READ   0

◆ OS_WRITE

#define OS_WRITE   1

Typedef Documentation

◆ OSPiHandle

typedef struct OSPiHandle_s OSPiHandle

Function Documentation

◆ osCreatePiManager()

void osCreatePiManager ( OSPri pri,
OSMesgQueue * cmdQ,
OSMesg * cmdBuf,
s32 cmdMsgCnt )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ osEPiRawStartDma()

s32 osEPiRawStartDma ( OSPiHandle * piHandle,
s32 dir,
u32 cart_addr,
void * dram_addr,
size_t size )

◆ osPiGetCmdQueue()

OSMesgQueue * osPiGetCmdQueue ( void )
Here is the caller graph for this function:

◆ osPiRawStartDma()

s32 osPiRawStartDma ( s32 dir,
u32 cart_addr,
void * dram_addr,
size_t size )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ osPiReadIo()

s32 osPiReadIo ( uintptr_t devAddr,
u32 * data )

◆ osPiStartDma()

s32 osPiStartDma ( OSIoMesg * mb,
s32 priority,
s32 direction,
uintptr_t devAddr,
void * vAddr,
size_t nbytes,
OSMesgQueue * mq )
Todo
name magic constants
Here is the call graph for this function:
Here is the caller graph for this function:

◆ osPiWriteIo()

s32 osPiWriteIo ( uintptr_t devAddr,
u32 data )