sdk-core v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Loading...
Searching...
No Matches
slib.c File Reference
#include <tamtypes.h>
#include <kernel.h>
#include <string.h>
#include <sifrpc.h>
#include "slib.h"
#include "smod.h"
#include "common.h"

Go to the source code of this file.

Macros

#define EXP_LIB_MAX   SMEM_BUF_SIZE

Functions

slib_exp_lib_list_t * slib_exp_lib_list (void)
int slib_get_exp_lib (const char *name, slib_exp_lib_t *library)

Variables

slib_exp_lib_list_t _slib_cur_exp_lib_list = {NULL, NULL}
struct smem_buf smem_buf

Detailed Description

Sub CPU library interface.

Definition in file slib.c.

Macro Definition Documentation

◆ EXP_LIB_MAX

#define EXP_LIB_MAX   SMEM_BUF_SIZE

Definition at line 101 of file slib.c.

Function Documentation

◆ slib_exp_lib_list()

slib_exp_lib_list_t * slib_exp_lib_list ( )

Find the head and tail of the export library list.

Returns
NULL if the list couldn't be found, and the address of the head and tail pointers if it was located.

This routine will need to be called everytime the IOP is reset.

Definition at line 31 of file slib.c.

◆ 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 103 of file slib.c.

Variable Documentation

◆ _slib_cur_exp_lib_list

slib_exp_lib_list_t _slib_cur_exp_lib_list = {NULL, NULL}

Definition at line 26 of file slib.c.