Mario Kart 64
Loading...
Searching...
No Matches
osEPiRawStartDma.c File Reference
#include "libultra_internal.h"
#include "hardware.h"
#include "new_func.h"
#include <PR/R4300.h>
Include dependency graph for osEPiRawStartDma.c:

Macros

#define UPDATE_REG(reg, var)
 
#define PI_DOMAIN1   0
 
#define IO_WRITE(addr, data)   (*(vu32*) PHYS_TO_K1(addr) = (u32) (data))
 

Functions

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

Macro Definition Documentation

◆ IO_WRITE

#define IO_WRITE ( addr,
data )   (*(vu32*) PHYS_TO_K1(addr) = (u32) (data))
Todo
These defines are from PR/rcp.h, but including that causes problems...

◆ PI_DOMAIN1

#define PI_DOMAIN1   0
Todo
This define is from os.h, but including that causes problems...

◆ UPDATE_REG

#define UPDATE_REG ( reg,
var )
Value:
if (cHandle->var != pihandle->var) \
IO_WRITE(reg, pihandle->var);
Todo
This define is from piint.h, but including that causes problems...

Function Documentation

◆ osEPiRawStartDma()

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