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

Go to the source code of this file.

Data Structures

struct  t_SifCmdHeader
 
struct  t_SifCmdSRegData
 
struct  t_SifCmdHandlerData
 
struct  t_SifCmdSysHandlerData
 
struct  t_SifRpcPktHeader
 
struct  t_SifRpcRendPkt
 
struct  t_SifRpcOtherDataPkt
 
struct  t_SifRpcBindPkt
 
struct  t_SifRpcCallPkt
 
struct  t_SifRpcServerData
 
struct  t_SifRpcHeader
 
struct  t_SifRpcClientData
 
struct  t_SifRpcReceiveData
 
struct  t_SifRpcDataQueue
 

Macros

#define SIF_CMD_ID_SYSTEM   0x80000000
 
#define SIF_CMD_CHANGE_SADDR   (SIF_CMD_ID_SYSTEM | 0)
 
#define SIF_CMD_SET_SREG   (SIF_CMD_ID_SYSTEM | 1)
 
#define SIF_CMD_INIT_CMD   (SIF_CMD_ID_SYSTEM | 2)
 
#define SIF_CMD_RESET_CMD   (SIF_CMD_ID_SYSTEM | 3)
 
#define SIF_CMD_RPC_END   (SIF_CMD_ID_SYSTEM | 8)
 
#define SIF_CMD_RPC_BIND   (SIF_CMD_ID_SYSTEM | 9)
 
#define SIF_CMD_RPC_CALL   (SIF_CMD_ID_SYSTEM | 10)
 
#define SIF_CMD_RPC_RDATA   (SIF_CMD_ID_SYSTEM | 12)
 
#define SIF_SREG_RPCINIT   0
 
#define SIF_RPC_M_NOWAIT   0x01
 
#define SIF_RPC_M_NOWBDC   0x02
 
#define SifInitRpc   sceSifInitRpc
 
#define SifBindRpc   sceSifBindRpc
 
#define SifCallRpc   sceSifCallRpc
 
#define SifRegisterRpc   sceSifRegisterRpc
 
#define SifCheckStatRpc   sceSifCheckStatRpc
 
#define SifSetRpcQueue   sceSifSetRpcQueue
 
#define SifGetNextRequest   sceSifGetNextRequest
 
#define SifExecRequest   sceSifExecRequest
 
#define SifRpcLoop   sceSifRpcLoop
 
#define SifRpcGetOtherData   sceSifGetOtherData
 
#define sifcmd_IMPORTS_start   DECLARE_IMPORT_TABLE(sifcmd, 1, 1)
 
#define sifcmd_IMPORTS_end   END_IMPORT_TABLE
 
#define I_sceSifInitCmd   DECLARE_IMPORT(4, sceSifInitCmd)
 
#define I_sceSifExitCmd   DECLARE_IMPORT(5, sceSifExitCmd)
 
#define I_sceSifGetSreg   DECLARE_IMPORT(6, sceSifGetSreg)
 
#define I_sceSifSetSreg   DECLARE_IMPORT(7, sceSifSetSreg)
 
#define I_sceSifSetCmdBuffer   DECLARE_IMPORT(8, sceSifSetCmdBuffer)
 
#define I_sceSifSetSysCmdBuffer   DECLARE_IMPORT(9, sceSifSetSysCmdBuffer)
 
#define I_sceSifAddCmdHandler   DECLARE_IMPORT(10, sceSifAddCmdHandler)
 
#define I_sceSifRemoveCmdHandler   DECLARE_IMPORT(11, sceSifRemoveCmdHandler)
 
#define I_sceSifSendCmd   DECLARE_IMPORT(12, sceSifSendCmd)
 
#define I_isceSifSendCmd   DECLARE_IMPORT(13, isceSifSendCmd)
 
#define I_sceSifInitRpc   DECLARE_IMPORT(14, sceSifInitRpc)
 
#define I_sceSifBindRpc   DECLARE_IMPORT(15, sceSifBindRpc)
 
#define I_sceSifCallRpc   DECLARE_IMPORT(16, sceSifCallRpc)
 
#define I_sceSifRegisterRpc   DECLARE_IMPORT(17, sceSifRegisterRpc)
 
#define I_sceSifCheckStatRpc   DECLARE_IMPORT(18, sceSifCheckStatRpc)
 
#define I_sceSifSetRpcQueue   DECLARE_IMPORT(19, sceSifSetRpcQueue)
 
#define I_sceSifGetNextRequest   DECLARE_IMPORT(20, sceSifGetNextRequest)
 
#define I_sceSifExecRequest   DECLARE_IMPORT(21, sceSifExecRequest)
 
#define I_sceSifRpcLoop   DECLARE_IMPORT(22, sceSifRpcLoop)
 
#define I_sceSifGetOtherData   DECLARE_IMPORT(23, sceSifGetOtherData)
 
#define I_sceSifRemoveRpc   DECLARE_IMPORT(24, sceSifRemoveRpc)
 
#define I_sceSifRemoveRpcQueue   DECLARE_IMPORT(25, sceSifRemoveRpcQueue)
 
#define I_sceSifSetSif1CB   DECLARE_IMPORT(26, sceSifSetSif1CB)
 
#define I_sceSifClearSif1CB   DECLARE_IMPORT(27, sceSifClearSif1CB)
 
#define I_sceSifSendCmdIntr   DECLARE_IMPORT(28, sceSifSendCmdIntr)
 
#define I_isceSifSendCmdIntr   DECLARE_IMPORT(29, isceSifSendCmdIntr)
 

Typedefs

typedef struct t_SifCmdHeader SifCmdHeader_t
 
typedef struct t_SifCmdSRegData SifCmdSRegData_t
 
typedef void(* SifCmdHandler_t) (void *data, void *harg)
 
typedef struct t_SifCmdHandlerData SifCmdHandlerData_t
 
typedef struct t_SifCmdSysHandlerData SifCmdSysHandlerData_t
 
typedef void *(* SifRpcFunc_t) (int fno, void *buffer, int length)
 
typedef void(* SifRpcEndFunc_t) (void *end_param)
 
typedef struct t_SifRpcPktHeader SifRpcPktHeader_t
 
typedef struct t_SifRpcRendPkt SifRpcRendPkt_t
 
typedef struct t_SifRpcOtherDataPkt SifRpcOtherDataPkt_t
 
typedef struct t_SifRpcBindPkt SifRpcBindPkt_t
 
typedef struct t_SifRpcCallPkt SifRpcCallPkt_t
 
typedef struct t_SifRpcServerData SifRpcServerData_t
 
typedef struct t_SifRpcHeader SifRpcHeader_t
 
typedef struct t_SifRpcClientData SifRpcClientData_t
 
typedef struct t_SifRpcReceiveData SifRpcReceiveData_t
 
typedef struct t_SifRpcDataQueue SifRpcDataQueue_t
 

Functions

void sceSifInitCmd (void)
 
void sceSifExitCmd (void)
 
unsigned int sceSifGetSreg (int index)
 
void sceSifSetSreg (int index, unsigned int value)
 
void sceSifSetCmdBuffer (SifCmdHandlerData_t *cmdBuffer, int size)
 
void sceSifSetSysCmdBuffer (SifCmdSysHandlerData_t *sysCmdBuffer, int size)
 
void sceSifAddCmdHandler (int cid, SifCmdHandler_t handler, void *harg)
 
void sceSifRemoveCmdHandler (int cid)
 
unsigned int sceSifSendCmd (int cmd, void *packet, int packet_size, void *src_extra, void *dest_extra, int size_extra)
 
unsigned int isceSifSendCmd (int cmd, void *packet, int packet_size, void *src_extra, void *dest_extra, int size_extra)
 
void sceSifInitRpc (int mode)
 
int sceSifBindRpc (SifRpcClientData_t *client, int rpc_number, int mode)
 
int sceSifCallRpc (SifRpcClientData_t *client, int rpc_number, int mode, void *send, int ssize, void *receive, int rsize, SifRpcEndFunc_t end_function, void *end_param)
 
void sceSifRegisterRpc (SifRpcServerData_t *sd, int sid, SifRpcFunc_t func, void *buf, SifRpcFunc_t cfunc, void *cbuf, SifRpcDataQueue_t *qd)
 
int sceSifCheckStatRpc (SifRpcClientData_t *cd)
 
SifRpcDataQueue_tsceSifSetRpcQueue (SifRpcDataQueue_t *q, int thread_id)
 
SifRpcServerData_tsceSifGetNextRequest (SifRpcDataQueue_t *qd)
 
void sceSifExecRequest (SifRpcServerData_t *srv)
 
void sceSifRpcLoop (SifRpcDataQueue_t *qd)
 
int sceSifGetOtherData (SifRpcReceiveData_t *rd, void *src, void *dest, int size, int mode)
 
SifRpcServerData_tsceSifRemoveRpc (SifRpcServerData_t *sd, SifRpcDataQueue_t *qd)
 
SifRpcDataQueue_tsceSifRemoveRpcQueue (SifRpcDataQueue_t *qd)
 
void sceSifSetSif1CB (void(*func)(void *userdata), void *userdata)
 
void sceSifClearSif1CB (void)
 
unsigned int sceSifSendCmdIntr (int cmd, void *packet, int packet_size, void *src_extra, void *dest_extra, int size_extra, void(*completioncb)(void *userdata), void *userdata)
 
unsigned int isceSifSendCmdIntr (int cmd, void *packet, int packet_size, void *src_extra, void *dest_extra, int size_extra, void(*completioncb)(void *userdata), void *userdata)
 

Detailed Description

SIF CMD and RPC.

Definition in file sifcmd.h.


Data Structure Documentation

◆ t_SifCmdHeader

struct t_SifCmdHeader

SIF command.

Definition at line 22 of file sifcmd.h.

Data Fields
u32 psize: 8

Packet size. Min: 1x16 (header only), max: 7*16

u32 dsize: 24

Payload size

Extra data size

void * dest

Destination address for payload. Can be NULL if there is no payload.

Extra data destination address. May be NULL if there's no extra data.

int cid

Function number of function to call.

Function number of the function to call.

u32 opt

Can be freely used.

◆ t_SifCmdSRegData

struct t_SifCmdSRegData

Structure for remotely (over the SIF) changing the value of a software register (SREG). There are 32 software registers (0 - 31). Registers 0-7 are used by the system.

Definition at line 54 of file sifcmd.h.

+ Collaboration diagram for t_SifCmdSRegData:
Data Fields
SifCmdHeader_t header
int index
unsigned int value

◆ t_SifCmdHandlerData

struct t_SifCmdHandlerData

Definition at line 66 of file sifcmd.h.

Data Fields
SifCmdHandler_t handler
void * harg

◆ t_SifCmdSysHandlerData

struct t_SifCmdSysHandlerData

Definition at line 71 of file sifcmd.h.

Data Fields
SifCmdHandler_t handler
void * harg
void * unknown08

◆ t_SifRpcPktHeader

struct t_SifRpcPktHeader

Definition at line 39 of file sifrpc.h.

+ Collaboration diagram for t_SifRpcPktHeader:
Data Fields
struct t_SifCmdHeader sifcmd
int rec_id
void * pkt_addr
int rpc_id

◆ t_SifRpcRendPkt

struct t_SifRpcRendPkt

Definition at line 47 of file sifrpc.h.

+ Collaboration diagram for t_SifRpcRendPkt:
Data Fields
struct t_SifCmdHeader sifcmd
int rec_id
void * pkt_addr
int rpc_id
struct t_SifRpcClientData * client
u32 cid
struct t_SifRpcServerData * server
void * buff
void * cbuff

◆ t_SifRpcOtherDataPkt

struct t_SifRpcOtherDataPkt

Definition at line 61 of file sifrpc.h.

+ Collaboration diagram for t_SifRpcOtherDataPkt:
Data Fields
struct t_SifCmdHeader sifcmd
int rec_id
void * pkt_addr
int rpc_id
struct t_SifRpcReceiveData * receive
void * src
void * dest
int size

◆ t_SifRpcBindPkt

struct t_SifRpcBindPkt

Definition at line 74 of file sifrpc.h.

+ Collaboration diagram for t_SifRpcBindPkt:
Data Fields
struct t_SifCmdHeader sifcmd
int rec_id
void * pkt_addr
int rpc_id
struct t_SifRpcClientData * client
int sid

◆ t_SifRpcCallPkt

struct t_SifRpcCallPkt

Definition at line 84 of file sifrpc.h.

+ Collaboration diagram for t_SifRpcCallPkt:
Data Fields
struct t_SifCmdHeader sifcmd
int rec_id
void * pkt_addr
int rpc_id
struct t_SifRpcClientData * client
int rpc_number
int send_size
void * receive
int recv_size
int rmode
struct t_SifRpcServerData * server

◆ t_SifRpcServerData

struct t_SifRpcServerData

Definition at line 99 of file sifrpc.h.

+ Collaboration diagram for t_SifRpcServerData:
Data Fields
int sid
SifRpcFunc_t func
void * buff
int size
SifRpcFunc_t cfunc
void * cbuff
int size2
struct t_SifRpcClientData * client
void * pkt_addr
int rpc_number
void * receive
int rsize
int rmode
int rid
struct t_SifRpcServerData * link
struct t_SifRpcServerData * next
struct t_SifRpcDataQueue * base

◆ t_SifRpcHeader

struct t_SifRpcHeader

Definition at line 126 of file sifrpc.h.

Data Fields
void * pkt_addr
u32 rpc_id
int sema_id
u32 mode

◆ t_SifRpcClientData

struct t_SifRpcClientData

Definition at line 135 of file sifrpc.h.

+ Collaboration diagram for t_SifRpcClientData:
Data Fields
struct t_SifRpcHeader hdr
u32 command
void * buff
void * cbuff
SifRpcEndFunc_t end_function
void * end_param
struct t_SifRpcServerData * server

◆ t_SifRpcReceiveData

struct t_SifRpcReceiveData

Definition at line 146 of file sifrpc.h.

+ Collaboration diagram for t_SifRpcReceiveData:
Data Fields
struct t_SifRpcHeader hdr
void * src
void * dest
int size

◆ t_SifRpcDataQueue

struct t_SifRpcDataQueue

Definition at line 154 of file sifrpc.h.

+ Collaboration diagram for t_SifRpcDataQueue:
Data Fields
int thread_id
int active
struct t_SifRpcServerData * link
struct t_SifRpcServerData * start
struct t_SifRpcServerData * end
struct t_SifRpcDataQueue * next

Macro Definition Documentation

◆ SIF_CMD_ID_SYSTEM

#define SIF_CMD_ID_SYSTEM   0x80000000

Definition at line 41 of file sifcmd.h.

◆ SIF_CMD_CHANGE_SADDR

#define SIF_CMD_CHANGE_SADDR   (SIF_CMD_ID_SYSTEM | 0)

Definition at line 43 of file sifcmd.h.

◆ SIF_CMD_SET_SREG

#define SIF_CMD_SET_SREG   (SIF_CMD_ID_SYSTEM | 1)

Definition at line 44 of file sifcmd.h.

◆ SIF_CMD_INIT_CMD

#define SIF_CMD_INIT_CMD   (SIF_CMD_ID_SYSTEM | 2)

Definition at line 45 of file sifcmd.h.

◆ SIF_CMD_RESET_CMD

#define SIF_CMD_RESET_CMD   (SIF_CMD_ID_SYSTEM | 3)

Definition at line 46 of file sifcmd.h.

◆ SIF_CMD_RPC_END

#define SIF_CMD_RPC_END   (SIF_CMD_ID_SYSTEM | 8)

Definition at line 47 of file sifcmd.h.

◆ SIF_CMD_RPC_BIND

#define SIF_CMD_RPC_BIND   (SIF_CMD_ID_SYSTEM | 9)

Definition at line 48 of file sifcmd.h.

◆ SIF_CMD_RPC_CALL

#define SIF_CMD_RPC_CALL   (SIF_CMD_ID_SYSTEM | 10)

Definition at line 49 of file sifcmd.h.

◆ SIF_CMD_RPC_RDATA

#define SIF_CMD_RPC_RDATA   (SIF_CMD_ID_SYSTEM | 12)

Definition at line 50 of file sifcmd.h.

◆ SIF_SREG_RPCINIT

#define SIF_SREG_RPCINIT   0

Definition at line 53 of file sifcmd.h.

◆ SIF_RPC_M_NOWAIT

#define SIF_RPC_M_NOWAIT   0x01

Don't wait for end function

Definition at line 90 of file sifcmd.h.

◆ SIF_RPC_M_NOWBDC

#define SIF_RPC_M_NOWBDC   0x02

Don't write back the D cache

Definition at line 92 of file sifcmd.h.

◆ SifInitRpc

#define SifInitRpc   sceSifInitRpc

Definition at line 249 of file sifcmd.h.

◆ SifBindRpc

#define SifBindRpc   sceSifBindRpc

Definition at line 250 of file sifcmd.h.

◆ SifCallRpc

#define SifCallRpc   sceSifCallRpc

Definition at line 251 of file sifcmd.h.

◆ SifRegisterRpc

#define SifRegisterRpc   sceSifRegisterRpc

Definition at line 253 of file sifcmd.h.

◆ SifCheckStatRpc

#define SifCheckStatRpc   sceSifCheckStatRpc

Definition at line 255 of file sifcmd.h.

◆ SifSetRpcQueue

#define SifSetRpcQueue   sceSifSetRpcQueue

Definition at line 257 of file sifcmd.h.

◆ SifGetNextRequest

#define SifGetNextRequest   sceSifGetNextRequest

Definition at line 258 of file sifcmd.h.

◆ SifExecRequest

#define SifExecRequest   sceSifExecRequest

Definition at line 259 of file sifcmd.h.

◆ SifRpcLoop

#define SifRpcLoop   sceSifRpcLoop

Definition at line 260 of file sifcmd.h.

◆ SifRpcGetOtherData

#define SifRpcGetOtherData   sceSifGetOtherData

Definition at line 262 of file sifcmd.h.

◆ sifcmd_IMPORTS_start

#define sifcmd_IMPORTS_start   DECLARE_IMPORT_TABLE(sifcmd, 1, 1)

Definition at line 264 of file sifcmd.h.

◆ sifcmd_IMPORTS_end

#define sifcmd_IMPORTS_end   END_IMPORT_TABLE

Definition at line 265 of file sifcmd.h.

◆ I_sceSifInitCmd

#define I_sceSifInitCmd   DECLARE_IMPORT(4, sceSifInitCmd)

Definition at line 267 of file sifcmd.h.

◆ I_sceSifExitCmd

#define I_sceSifExitCmd   DECLARE_IMPORT(5, sceSifExitCmd)

Definition at line 268 of file sifcmd.h.

◆ I_sceSifGetSreg

#define I_sceSifGetSreg   DECLARE_IMPORT(6, sceSifGetSreg)

Definition at line 269 of file sifcmd.h.

◆ I_sceSifSetSreg

#define I_sceSifSetSreg   DECLARE_IMPORT(7, sceSifSetSreg)

Definition at line 270 of file sifcmd.h.

◆ I_sceSifSetCmdBuffer

#define I_sceSifSetCmdBuffer   DECLARE_IMPORT(8, sceSifSetCmdBuffer)

Definition at line 271 of file sifcmd.h.

◆ I_sceSifSetSysCmdBuffer

#define I_sceSifSetSysCmdBuffer   DECLARE_IMPORT(9, sceSifSetSysCmdBuffer)

Definition at line 272 of file sifcmd.h.

◆ I_sceSifAddCmdHandler

#define I_sceSifAddCmdHandler   DECLARE_IMPORT(10, sceSifAddCmdHandler)

Definition at line 273 of file sifcmd.h.

◆ I_sceSifRemoveCmdHandler

#define I_sceSifRemoveCmdHandler   DECLARE_IMPORT(11, sceSifRemoveCmdHandler)

Definition at line 274 of file sifcmd.h.

◆ I_sceSifSendCmd

#define I_sceSifSendCmd   DECLARE_IMPORT(12, sceSifSendCmd)

Definition at line 275 of file sifcmd.h.

◆ I_isceSifSendCmd

#define I_isceSifSendCmd   DECLARE_IMPORT(13, isceSifSendCmd)

Definition at line 276 of file sifcmd.h.

◆ I_sceSifInitRpc

#define I_sceSifInitRpc   DECLARE_IMPORT(14, sceSifInitRpc)

Definition at line 277 of file sifcmd.h.

◆ I_sceSifBindRpc

#define I_sceSifBindRpc   DECLARE_IMPORT(15, sceSifBindRpc)

Definition at line 278 of file sifcmd.h.

◆ I_sceSifCallRpc

#define I_sceSifCallRpc   DECLARE_IMPORT(16, sceSifCallRpc)

Definition at line 279 of file sifcmd.h.

◆ I_sceSifRegisterRpc

#define I_sceSifRegisterRpc   DECLARE_IMPORT(17, sceSifRegisterRpc)

Definition at line 280 of file sifcmd.h.

◆ I_sceSifCheckStatRpc

#define I_sceSifCheckStatRpc   DECLARE_IMPORT(18, sceSifCheckStatRpc)

Definition at line 281 of file sifcmd.h.

◆ I_sceSifSetRpcQueue

#define I_sceSifSetRpcQueue   DECLARE_IMPORT(19, sceSifSetRpcQueue)

Definition at line 282 of file sifcmd.h.

◆ I_sceSifGetNextRequest

#define I_sceSifGetNextRequest   DECLARE_IMPORT(20, sceSifGetNextRequest)

Definition at line 283 of file sifcmd.h.

◆ I_sceSifExecRequest

#define I_sceSifExecRequest   DECLARE_IMPORT(21, sceSifExecRequest)

Definition at line 284 of file sifcmd.h.

◆ I_sceSifRpcLoop

#define I_sceSifRpcLoop   DECLARE_IMPORT(22, sceSifRpcLoop)

Definition at line 285 of file sifcmd.h.

◆ I_sceSifGetOtherData

#define I_sceSifGetOtherData   DECLARE_IMPORT(23, sceSifGetOtherData)

Definition at line 286 of file sifcmd.h.

◆ I_sceSifRemoveRpc

#define I_sceSifRemoveRpc   DECLARE_IMPORT(24, sceSifRemoveRpc)

Definition at line 287 of file sifcmd.h.

◆ I_sceSifRemoveRpcQueue

#define I_sceSifRemoveRpcQueue   DECLARE_IMPORT(25, sceSifRemoveRpcQueue)

Definition at line 288 of file sifcmd.h.

◆ I_sceSifSetSif1CB

#define I_sceSifSetSif1CB   DECLARE_IMPORT(26, sceSifSetSif1CB)

Definition at line 289 of file sifcmd.h.

◆ I_sceSifClearSif1CB

#define I_sceSifClearSif1CB   DECLARE_IMPORT(27, sceSifClearSif1CB)

Definition at line 290 of file sifcmd.h.

◆ I_sceSifSendCmdIntr

#define I_sceSifSendCmdIntr   DECLARE_IMPORT(28, sceSifSendCmdIntr)

Definition at line 291 of file sifcmd.h.

◆ I_isceSifSendCmdIntr

#define I_isceSifSendCmdIntr   DECLARE_IMPORT(29, isceSifSendCmdIntr)

Definition at line 292 of file sifcmd.h.

Typedef Documentation

◆ SifCmdHeader_t

SIF command.

◆ SifCmdSRegData_t

Structure for remotely (over the SIF) changing the value of a software register (SREG). There are 32 software registers (0 - 31). Registers 0-7 are used by the system.

◆ SifCmdHandler_t

typedef void(* SifCmdHandler_t) (void *data, void *harg)

Definition at line 64 of file sifcmd.h.

◆ SifRpcFunc_t

typedef void *(* SifRpcFunc_t) (int fno, void *buffer, int length)

Definition at line 94 of file sifcmd.h.

◆ SifRpcEndFunc_t

typedef void(* SifRpcEndFunc_t) (void *end_param)

Definition at line 95 of file sifcmd.h.

Function Documentation

◆ sceSifInitCmd()

void sceSifInitCmd ( void  )

Definition at line 170 of file sifcmd.c.

◆ sceSifExitCmd()

void sceSifExitCmd ( void  )

Definition at line 176 of file sifcmd.c.

◆ sceSifGetSreg()

unsigned int sceSifGetSreg ( int  index)

Definition at line 60 of file sifcmd.c.

◆ sceSifSetSreg()

void sceSifSetSreg ( int  index,
unsigned int  value 
)

Definition at line 65 of file sifcmd.c.

◆ sceSifSetCmdBuffer()

void sceSifSetCmdBuffer ( SifCmdHandlerData_t cmdBuffer,
int  size 
)

Definition at line 184 of file sifcmd.c.

◆ sceSifSetSysCmdBuffer()

void sceSifSetSysCmdBuffer ( SifCmdSysHandlerData_t sysCmdBuffer,
int  size 
)

Definition at line 190 of file sifcmd.c.

◆ sceSifAddCmdHandler()

void sceSifAddCmdHandler ( int  cid,
SifCmdHandler_t  handler,
void *  harg 
)

Definition at line 196 of file sifcmd.c.

◆ sceSifRemoveCmdHandler()

void sceSifRemoveCmdHandler ( int  cid)

Definition at line 210 of file sifcmd.c.

◆ sceSifSendCmd()

unsigned int sceSifSendCmd ( int  cmd,
void *  packet,
int  packet_size,
void *  src_extra,
void *  dest_extra,
int  size_extra 
)

Definition at line 292 of file sifcmd.c.

◆ isceSifSendCmd()

unsigned int isceSifSendCmd ( int  cmd,
void *  packet,
int  packet_size,
void *  src_extra,
void *  dest_extra,
int  size_extra 
)

Definition at line 319 of file sifcmd.c.

◆ sceSifInitRpc()

void sceSifInitRpc ( int  mode)

Definition at line 42 of file sifrpc.c.

◆ sceSifBindRpc()

int sceSifBindRpc ( SifRpcClientData_t client,
int  rpc_number,
int  mode 
)

Definition at line 374 of file sifrpc.c.

◆ sceSifCallRpc()

int sceSifCallRpc ( SifRpcClientData_t client,
int  rpc_number,
int  mode,
void *  send,
int  ssize,
void *  receive,
int  rsize,
SifRpcEndFunc_t  end_function,
void *  end_param 
)

Definition at line 456 of file sifrpc.c.

◆ sceSifRegisterRpc()

void sceSifRegisterRpc ( SifRpcServerData_t sd,
int  sid,
SifRpcFunc_t  func,
void *  buf,
SifRpcFunc_t  cfunc,
void *  cbuf,
SifRpcDataQueue_t qd 
)

Definition at line 569 of file sifrpc.c.

◆ sceSifCheckStatRpc()

int sceSifCheckStatRpc ( SifRpcClientData_t cd)

Definition at line 536 of file sifrpc.c.

◆ sceSifSetRpcQueue()

SifRpcDataQueue_t * sceSifSetRpcQueue ( SifRpcDataQueue_t q,
int  thread_id 
)

Definition at line 544 of file sifrpc.c.

◆ sceSifGetNextRequest()

SifRpcServerData_t * sceSifGetNextRequest ( SifRpcDataQueue_t qd)

Definition at line 662 of file sifrpc.c.

◆ sceSifExecRequest()

void sceSifExecRequest ( SifRpcServerData_t srv)

Definition at line 682 of file sifrpc.c.

◆ sceSifRpcLoop()

void sceSifRpcLoop ( SifRpcDataQueue_t qd)

Definition at line 759 of file sifrpc.c.

◆ sceSifGetOtherData()

int sceSifGetOtherData ( SifRpcReceiveData_t rd,
void *  src,
void *  dest,
int  size,
int  mode 
)

Definition at line 259 of file sifrpc.c.

◆ sceSifRemoveRpc()

SifRpcServerData_t * sceSifRemoveRpc ( SifRpcServerData_t sd,
SifRpcDataQueue_t qd 
)

Definition at line 598 of file sifrpc.c.

◆ sceSifRemoveRpcQueue()

SifRpcDataQueue_t * sceSifRemoveRpcQueue ( SifRpcDataQueue_t qd)

Definition at line 631 of file sifrpc.c.

◆ sceSifSetSif1CB()

void sceSifSetSif1CB ( void(*)(void *userdata)  func,
void *  userdata 
)

Definition at line 346 of file sifcmd.c.

◆ sceSifClearSif1CB()

void sceSifClearSif1CB ( void  )

Definition at line 352 of file sifcmd.c.