PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
sifrpc.c File Reference
#include <tamtypes.h>
#include <ps2lib_err.h>
#include <kernel.h>
#include <sifcmd.h>
#include <sifrpc.h>
+ Include dependency graph for sifrpc.c:

Go to the source code of this file.

Data Structures

struct  rpc_data
 

Macros

#define RPC_PACKET_SIZE   64
 
#define PACKET_F_ALLOC   0x01
 

Functions

static void rpc_packet_free (void *packet)
 
void * _rpc_get_packet (struct rpc_data *rpc_data)
 
void * _rpc_get_fpacket (struct rpc_data *rpc_data)
 

Variables

int _iop_reboot_count
 
struct rpc_data _sif_rpc_data
 

Detailed Description

EE SIF RPC commands MRB: This file now contains the SIF routines included with libpsware. Bug reports welcome.

Definition in file sifrpc.c.


Data Structure Documentation

◆ rpc_data

struct rpc_data

Definition at line 38 of file sifrpc.c.

Data Fields
int pid
void * pkt_table
int pkt_table_len
int unused1
int unused2
u8 * rdata_table
int rdata_table_len
u8 * client_table
int client_table_len
int rdata_table_idx
void * active_queue

Macro Definition Documentation

◆ RPC_PACKET_SIZE

#define RPC_PACKET_SIZE   64

Definition at line 25 of file sifrpc.c.

◆ PACKET_F_ALLOC

#define PACKET_F_ALLOC   0x01

Set if the packet has been allocated

Definition at line 28 of file sifrpc.c.

Function Documentation

◆ rpc_packet_free()

static void rpc_packet_free ( void *  packet)
inlinestatic

Definition at line 30 of file sifrpc.c.