|
sdk-core v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
|
Functions | |
| void | list_all_libraries () |
| void | list_all_modules () |
| void | list_devices_ioman () |
| void | list_devices_iomanx () |
| void | list_fs_devices (int mgrtype) |
| void | cmdline_handle (char *command, char *arg1) |
| iop_device_t * | iopmgr_get_iomandev (char *device) |
| iop_device_t * | iopmgr_get_iomanxdev (char *device) |
| int | iopmgr_get_devicelist (int man, int devtype, char *buffer) |
| iop_device_t * | iopmgr_get_device (char *device) |
| int | iopmgr_get_devicetype (char *device) |
| int | _start (int argc, char *argv[]) |
| int | shutdown () |
| iop_library_t * | slib_get_lib_by_name (const char *name) |
| void * | slib_get_exportlist_by_name (const char *name) |
| int | slib_get_version_by_name (const char *name) |
| int | slib_release_library (const char *name) |
| ModuleInfo_t * | smod_get_next_mod (ModuleInfo_t *cur_mod) |
| ModuleInfo_t * | smod_get_mod_by_name (const char *name) |
| int | smod_get_modcount_by_name (const char *name) |
| int | smod_get_modversion_by_name (const char *name) |
| int | smod_unload_module (const char *name) |
| int _start | ( | int | argc, |
| char * | argv[] ) |
Entry point for IRX.
if argc <= 1 , install as library. if argc > 1 , run given command in argv[1].
| argc | Number of arguments. |
| argv | Pointer to array of arguments. |
return values: MODULE_RESIDENT_END if loaded and registered as library. MODULE_NO_RESIDENT_END if just exiting normally.
| void cmdline_handle | ( | char * | command, |
| char * | arg1 ) |
Handles basic parsing of commands, for command execution mode.
| command | Pointer to command string. |
Definition at line 161 of file commandline.c.
| iop_device_t * iopmgr_get_device | ( | char * | device | ) |
| int iopmgr_get_devicelist | ( | int | man, |
| int | devtype, | ||
| char * | buffer ) |
Get a list of devices of a certain type
| man | Device manager mask (IOPMGR_DEVTYPE_IOMAN or IOPMGR_DEVTYPE_IOMANX). |
| devtype | Device type mask (0x10 for filesystems). |
return values: 0 if no matching devices found device count, if found, and buffer buffer filled with ascii serial string of device names.
| int iopmgr_get_devicetype | ( | char * | device | ) |
Returns which i/o manager handles the given device.
| device | Stringname of device (eg "host). |
return values: IOPMGR_DEVTYPE_INVALID if not found, IOPMGR_DEVTYPE_IOMAN if found and ioman device, IOPMGR_DEVTYPE_IOMANX if found and iomanx device.
| iop_device_t * iopmgr_get_iomandev | ( | char * | device | ) |
| iop_device_t * iopmgr_get_iomanxdev | ( | char * | device | ) |
| void list_all_libraries | ( | ) |
Prints out a list of all currently registered libraries with their name and version.
Definition at line 28 of file commandline.c.
| void list_all_modules | ( | ) |
Prints out a list of all currently loaded IRX modules with description and version number.
Definition at line 52 of file commandline.c.
| void list_devices_ioman | ( | ) |
Print out all devices for ONLY ioman and shows which one they belong to.
Definition at line 69 of file commandline.c.
| void list_devices_iomanx | ( | ) |
Print out all devices for ONLY iomanx and shows which one they belong to.
Definition at line 99 of file commandline.c.
| void list_fs_devices | ( | int | mgrtype | ) |
Print out all devices for both ioman and iomanx and shows which one they belong to.
| mgrtype | Device manager type search mask (IOPMGR_DEVTYPE_XXXX). |
Definition at line 131 of file commandline.c.
| int shutdown | ( | void | ) |
| void * slib_get_exportlist_by_name | ( | const char * | name | ) |
| iop_library_t * slib_get_lib_by_name | ( | const char * | name | ) |
| int slib_get_version_by_name | ( | const char * | name | ) |
| int slib_release_library | ( | const char * | name | ) |
| ModuleInfo_t * smod_get_mod_by_name | ( | const char * | name | ) |
| int smod_get_modcount_by_name | ( | const char * | name | ) |
Get instance count for given module name.
| name | Stringname of module (eg "atad_driver"). |
NOTE: if doing this to check for own module, the run being used to check automatically adds one to the count.. so ret=2 means another, instance loaded as well as current one.
| int smod_get_modversion_by_name | ( | const char * | name | ) |
| ModuleInfo_t * smod_get_next_mod | ( | ModuleInfo_t * | cur_mod | ) |
Get pointer to head of module list, or next module in list.
| cur_mod | Pointer to module structure, or 0 to return the head. |
return values: 0 if end of list. pointer to head of module list if cur_mod=0. pointer to next module, if cur_mod!=0.
| int smod_unload_module | ( | const char * | name | ) |