35#define SIF_DMA_FROM_IOP 0x0
36#define SIF_DMA_TO_IOP 0x1
37#define SIF_DMA_FROM_EE 0x0
38#define SIF_DMA_TO_EE 0x1
40#define SIF_DMA_INT_I 0x2
41#define SIF_DMA_INT_O 0x4
42#define SIF_DMA_SPR 0x8
43#define SIF_DMA_BSN 0x10
44#define SIF_DMA_TAG 0x20
46#define SIF_REG_ID_SYSTEM 0x80000000
61#define SIF_STAT_SIFINIT 0x10000
63#define SIF_STAT_CMDINIT 0x20000
65#define SIF_STAT_BOOTEND 0x40000
80void sceSifSetDChain();
83int sceSifDmaStat(
int trid);
86#define SifSetDChain sceSifSetDChain
87#define SifSetDma sceSifSetDma
88#define SifDmaStat sceSifDmaStat
99void sceSifDma0Transfer(
void *addr,
int size,
int mode);
100void sceSifDma0Sync();
101int sceSifDma0Sending();
103void sceSifDma1Transfer(
void *addr,
int size,
int mode);
104void sceSifDma1Sync();
105int sceSifDma1Sending();
107void sceSifDma2Transfer(
void *addr,
int size,
int mode);
108void sceSifDma2Sync();
109int sceSifDma2Sending();
114u32 sceSifGetMSFlag();
115u32 sceSifSetMSFlag(u32 val);
120u32 sceSifGetSMFlag();
121u32 sceSifSetSMFlag(u32 val);
126u32 sceSifGetMainAddr();
131u32 sceSifGetSubAddr();
132u32 sceSifSetSubAddr(u32 addr);
137void sceSifIntrMain();
139int sceSifCheckInit();
141void sceSifSetDmaIntrHandler(
void (*handler)(
void *),
void *arg);
142void sceSifResetDmaIntrHandler();
144unsigned int sceSifSetDmaIntr(
SifDmaTransfer_t *dmat,
int count,
void (*completioncb)(
void *userdata),
void *userdata);
146#define sifman_IMPORTS_start DECLARE_IMPORT_TABLE(sifman, 1, 1)
147#define sifman_IMPORTS_end END_IMPORT_TABLE
149#define I_sceSifDma2Init DECLARE_IMPORT(4, sceSifDma2Init)
150#define I_sceSifInit DECLARE_IMPORT(5, sceSifInit)
151#define I_sceSifSetDChain DECLARE_IMPORT(6, sceSifSetDChain)
152#define I_sceSifSetDma DECLARE_IMPORT(7, sceSifSetDma)
153#define I_sceSifDmaStat DECLARE_IMPORT(8, sceSifDmaStat)
154#define I_sceSifSetOneDma DECLARE_IMPORT(9, sceSifSetOneDma);
155#define I_sceSifSendSync DECLARE_IMPORT(10, sceSifSendSync);
156#define I_sceSifIsSending DECLARE_IMPORT(11, sceSifIsSending);
157#define I_sceSifDma0Transfer DECLARE_IMPORT(12, sceSifDma0Transfer)
158#define I_sceSifDma0Sync DECLARE_IMPORT(13, sceSifDma0Sync)
159#define I_sceSifDma0Sending DECLARE_IMPORT(14, sceSifDma0Sending)
160#define I_sceSifDma1Transfer DECLARE_IMPORT(15, sceSifDma1Transfer)
161#define I_sceSifDma1Sync DECLARE_IMPORT(16, sceSifDma1Sync)
162#define I_sceSifDma1Sending DECLARE_IMPORT(17, sceSifDma1Sending)
163#define I_sceSifDma2Transfer DECLARE_IMPORT(18, sceSifDma2Transfer)
164#define I_sceSifDma2Sync DECLARE_IMPORT(19, sceSifDma2Sync)
165#define I_sceSifDma2Sending DECLARE_IMPORT(20, sceSifDma2Sending)
166#define I_sceSifGetMSFlag DECLARE_IMPORT(21, sceSifGetMSFlag)
167#define I_sceSifSetMSFlag DECLARE_IMPORT(22, sceSifSetMSFlag)
168#define I_sceSifGetSMFlag DECLARE_IMPORT(23, sceSifGetSMFlag)
169#define I_sceSifSetSMFlag DECLARE_IMPORT(24, sceSifSetSMFlag)
170#define I_sceSifGetMainAddr DECLARE_IMPORT(25, sceSifGetMainAddr)
171#define I_sceSifGetSubAddr DECLARE_IMPORT(26, sceSifGetSubAddr)
172#define I_sceSifSetSubAddr DECLARE_IMPORT(27, sceSifSetSubAddr)
173#define I_sceSifIntrMain DECLARE_IMPORT(28, sceSifIntrMain)
174#define I_sceSifCheckInit DECLARE_IMPORT(29, sceSifCheckInit)
175#define I_sceSifSetDmaIntrHandler DECLARE_IMPORT(30, sceSifSetDmaIntrHandler)
176#define I_sceSifResetDmaIntrHandler DECLARE_IMPORT(31, sceSifResetDmaIntrHandler)
177#define I_sceSifSetDmaIntr DECLARE_IMPORT(32, sceSifSetDmaIntr)
u32 count
start sector of fragmented bd/file