sdk-core v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Loading...
Searching...
No Matches
sifdma.h File Reference
#include <tamtypes.h>

Go to the source code of this file.

Classes

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
#define SifDmaStat(...)
#define SifSetDma(...)

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

int sceSifDmaStat (int trid)
int sceSifSetDma (SifDmaTransfer_t *dmat, int count)

Detailed Description

EE SIF control function prototypes and structures

Definition in file sifdma.h.

Macro Definition Documentation

◆ SIF_DMA_ERT

#define SIF_DMA_ERT   0x40

Definition at line 25 of file sifdma.h.

◆ SIF_DMA_INT_I

#define SIF_DMA_INT_I   0x2

Definition at line 22 of file sifdma.h.

◆ SIF_DMA_INT_O

#define SIF_DMA_INT_O   0x4

Definition at line 23 of file sifdma.h.

◆ SIF_REG_ID_SYSTEM

#define SIF_REG_ID_SYSTEM   0x80000000

Definition at line 27 of file sifdma.h.

◆ SIF_STAT_BOOTEND

#define SIF_STAT_BOOTEND   0x40000

Bootup completed

Definition at line 51 of file sifdma.h.

◆ SIF_STAT_CMDINIT

#define SIF_STAT_CMDINIT   0x20000

SIFCMD initialized

Definition at line 49 of file sifdma.h.

◆ SIF_STAT_SIFINIT

#define SIF_STAT_SIFINIT   0x10000

SIF initialized

Definition at line 47 of file sifdma.h.

◆ SifDmaStat

#define SifDmaStat ( ...)
Value:
sceSifDmaStat(__VA_ARGS__)

Definition at line 73 of file sifdma.h.

◆ SifSetDma

#define SifSetDma ( ...)
Value:
sceSifSetDma(__VA_ARGS__)

Definition at line 74 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 29 of file sifdma.h.

Function Documentation

◆ sceSifDmaStat()

int sceSifDmaStat ( int trid)
extern

Definition at line 398 of file sifman.c.

◆ sceSifSetDma()

int sceSifSetDma ( SifDmaTransfer_t * dmat,
int count )
extern

Definition at line 370 of file sifman.c.