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

Go to the source code of this file.

Macros

#define siftoo_IMPORTS_start   DECLARE_IMPORT_TABLE(siftoo, 1, 1)
 
#define siftoo_IMPORTS_end   END_IMPORT_TABLE
 
#define I_sif2_init   DECLARE_IMPORT(4, sif2_init)
 
#define I_sif2_exit   DECLARE_IMPORT(5, sif2_exit)
 
#define I_sif2_mem_read   DECLARE_IMPORT(6, sif2_mem_read)
 
#define I_sif2_mem_write   DECLARE_IMPORT(7, sif2_mem_write)
 
#define I_sif2_pipe_create   DECLARE_IMPORT(10, sif2_pipe_create)
 
#define I_sif2_pipe_open   DECLARE_IMPORT(11, sif2_pipe_open)
 
#define I_sif2_pipe_close   DECLARE_IMPORT(12, sif2_pipe_close)
 
#define I_sif2_pipe_read   DECLARE_IMPORT(13, sif2_pipe_read)
 
#define I_sif2_pipe_write   DECLARE_IMPORT(14, sif2_pipe_write)
 

Typedefs

typedef int(* sif2_pipe_handler_t) (u32 id, void *buf, u32 size)
 

Enumerations

enum  sif2_errors { SIF2_E_OK, SIF2_E_INIT = 0xd700 }
 

Functions

int sif2_init (void)
 
int sif2_exit (void)
 
int sif2_mem_read (u32 addr, void *buf, u32 size)
 
int sif2_mem_write (u32 addr, void *buf, u32 size)
 
int sif2_pipe_create (u32 id, void *buf, u32 size, u32 flags, sif2_pipe_handler_t phandler)
 
int sif2_pipe_open (u32 id)
 
int sif2_pipe_close (int pd)
 
int sif2_pipe_read (int pd, void *buf, u32 size)
 
int sif2_pipe_write (int pd, void *buf, u32 size)
 

Detailed Description

SIFToo driver.

Definition in file siftoo.h.

Enumeration Type Documentation

◆ sif2_errors

Enumerator
SIF2_E_OK 

No error.

SIF2_E_INIT 

Initialization error.

Definition at line 22 of file siftoo.h.