|
sdk-core v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
|
Go to the source code of this file.
Typedefs | |
| typedef ModuleInfo_t smod_mod_info_t | __attribute__((deprecated)) |
Functions | |
| 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) |
| 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) |
| iop_device_t * | iopmgr_get_iomandev (char *device) |
| iop_device_t * | iopmgr_get_iomanxdev (char *device) |
| iop_device_t * | iopmgr_get_device (char *device) |
| int | iopmgr_get_devicetype (char *device) |
| int | iopmgr_get_devicelist (int man, int devtype, char *buffer) |
iop manager includes
Definition in file iopmgr.h.
| #define I_iopmgr_get_device DECLARE_IMPORT(17, iopmgr_get_device) |
| #define I_iopmgr_get_devicelist DECLARE_IMPORT(19, iopmgr_get_devicelist) |
| #define I_iopmgr_get_devicetype DECLARE_IMPORT(18, iopmgr_get_devicetype) |
| #define I_iopmgr_get_iomandev DECLARE_IMPORT(15, iopmgr_get_iomandev) |
| #define I_iopmgr_get_iomanxdev DECLARE_IMPORT(16, iopmgr_get_iomanxdev) |
| #define I_slib_get_exportlist_by_name DECLARE_IMPORT(11, slib_get_exportlist_by_name) |
| #define I_slib_get_lib_by_name DECLARE_IMPORT(10, slib_get_lib_by_name) |
| #define I_slib_get_version_by_name DECLARE_IMPORT(12, slib_get_version_by_name) |
| #define I_slib_release_library DECLARE_IMPORT(13, slib_release_library) |
| #define I_smod_get_mod_by_name DECLARE_IMPORT(5, smod_get_mod_by_name) |
| #define I_smod_get_modcount_by_name DECLARE_IMPORT(6, smod_get_modcount_by_name) |
| #define I_smod_get_modversion_by_name DECLARE_IMPORT(7, smod_get_modversion_by_name) |
| #define I_smod_get_next_mod DECLARE_IMPORT(4, smod_get_next_mod) |
| #define I_smod_unload_module DECLARE_IMPORT(8, smod_unload_module) |
| #define iopmgr_IMPORTS_start DECLARE_IMPORT_TABLE(iopmgr, 1, 1) |
|
inline |
for sceCdDiskReady() (s-cmd)
for sceCdSearchFile() (n-cmd)
Init the timer
Start the interruption handler for getting the system time This function should be called at beginning of your program
Finish the timer
Stops the interruption handler for getting the system time This function should be called when ending your program
Stop the profiler. If the profiler is not running, this function does nothing.
| filename | The name of the file to write the profiling data to. |
| should_dump | If 1, the profiling data will be written to the file. If 0, the profiling data will be discarded. |
Initializes pg library
After calculating the text size, __gprof_init() allocates enough memory to allow fastest access to arc structures, and some more for sampling statistics. Note that this also installs a timer that runs at 1000 hert.
Writes gmon.out dump file and stops profiling Called from _libcglue_deinit() function; will dump out a gmon.out file at cwd with all collected information.
Internal C handler for _mcount()
| frompc | pc address of caller |
| selfpc | pc address of current function |
Called from mcount.S to make life a bit easier. __mcount is called right before a function starts. GCC generates a tiny stub at the very beginning of each compiled routine, which eventually brings the control to here.