ps2sdk
1.1
A collection of Open Source libraries used for developing applications on Sony's PlayStation 2® (PS2).
|
#include <tamtypes.h>
Go to the source code of this file.
Data Structures | |
struct | slib_imp_list_t |
struct | slib_exp_lib_t |
struct | slib_exp_lib_list_t |
Functions | |
slib_exp_lib_list_t * | slib_exp_lib_list () |
int | slib_get_exp_lib (const char *name, slib_exp_lib_t *library) |
Sub-CPU library interface.
Definition in file slib.h.
slib_exp_lib_list_t* slib_exp_lib_list | ( | ) |
Find the head and tail of the export library list.
This routine will need to be called everytime the IOP is reset.
Definition at line 31 of file slib.c.
References __memcmp(), _slib_cur_exp_lib_list, smem_buf::bytes, slib_exp_lib_t::exports, slib_exp_lib_list_t::head, smem_buf::mod_info, NULL, SifRpcGetOtherData(), SyncDCache(), slib_exp_lib_list_t::tail, smod_mod_info_t::text_size, smod_mod_info_t::text_start, and smem_buf::words.
Referenced by slib_get_exp_lib().
int slib_get_exp_lib | ( | const char * | name, |
slib_exp_lib_t * | library | ||
) |
Retrieve an export library by name.
Definition at line 101 of file slib.c.
References __memcmp(), _slib_cur_exp_lib_list, smem_buf::bytes, smem_buf::exp_lib, EXP_LIB_MAX, slib_exp_lib_t::exports, slib_exp_lib_list_t::head, slib_exp_lib_t::name, slib_exp_lib_t::prev, SifRpcGetOtherData(), slib_exp_lib_list(), SyncDCache(), and slib_exp_lib_list_t::tail.
Referenced by sbv_patch_disable_prefix_check(), and sbv_patch_enable_lmb().