PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
sifdma.h File Reference
#include <tamtypes.h>
+ Include dependency graph for sifdma.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  t_SifDmaTransfer
 

Macros

#define SIF_DMA_INT_I   0x2
 
#define SIF_DMA_INT_O   0x4
 
#define SIF_DMA_ERT   0x40
 
#define SIF_REG_ID_SYSTEM   0x80000000
 
#define SIF_STAT_SIFINIT   0x10000
 
#define SIF_STAT_CMDINIT   0x20000
 
#define SIF_STAT_BOOTEND   0x40000
 

Typedefs

typedef struct t_SifDmaTransfer SifDmaTransfer_t
 

Enumerations

enum  _sif_regs {
  SIF_REG_MAINADDR = 1 , SIF_REG_SUBADDR , SIF_REG_MSFLAG , SIF_REG_SMFLAG ,
  SIF_SYSREG_SUBADDR = SIF_REG_ID_SYSTEM | 0 , SIF_SYSREG_MAINADDR , SIF_SYSREG_RPCINIT
}
 

Functions

u32 SifSetDma (SifDmaTransfer_t *sdd, s32 len)
 
s32 SifDmaStat (u32 id)
 

Detailed Description

EE SIF control function prototypes and structures

Definition in file sifdma.h.


Data Structure Documentation

◆ t_SifDmaTransfer

struct t_SifDmaTransfer

Definition at line 52 of file sifdma.h.

Data Fields
void * src
void * dest
int size
int attr

Macro Definition Documentation

◆ SIF_DMA_INT_I

#define SIF_DMA_INT_I   0x2

Definition at line 21 of file sifdma.h.

◆ SIF_DMA_INT_O

#define SIF_DMA_INT_O   0x4

Definition at line 22 of file sifdma.h.

◆ SIF_DMA_ERT

#define SIF_DMA_ERT   0x40

Definition at line 24 of file sifdma.h.

◆ SIF_REG_ID_SYSTEM

#define SIF_REG_ID_SYSTEM   0x80000000

Definition at line 26 of file sifdma.h.

◆ SIF_STAT_SIFINIT

#define SIF_STAT_SIFINIT   0x10000

SIF initialized

Definition at line 46 of file sifdma.h.

◆ SIF_STAT_CMDINIT

#define SIF_STAT_CMDINIT   0x20000

SIFCMD initialized

Definition at line 48 of file sifdma.h.

◆ SIF_STAT_BOOTEND

#define SIF_STAT_BOOTEND   0x40000

Bootup completed

Definition at line 50 of file sifdma.h.

Enumeration Type Documentation

◆ _sif_regs

enum _sif_regs
Enumerator
SIF_REG_MAINADDR 

Main -> sub-CPU command buffer (MSCOM)

SIF_REG_SUBADDR 

Sub -> main-CPU command buffer (SMCOM)

SIF_REG_MSFLAG 

Main -> sub-CPU flag (MSFLAG)

SIF_REG_SMFLAG 

Sub -> main-CPU flag (SMFLAG)

Definition at line 28 of file sifdma.h.