|
sdk-core v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
|
Classes | |
| struct | dev_table_t |
| struct | fd_table_t |
Macros | |
| #define | DEVSCAN_MAX (DEVSCAN_IOMAX+DEVSCAN_IOXMAX+1) |
| #define | DEVSCAN_MASK (IOP_DT_FS | IOP_DT_BLOCK) |
| #define | PFS_ZONE_SIZE 8192 |
Functions | |
| ModuleInfo_t * | devscan_getmodule (const char *name) |
| int | devscan_setup (int devtype) |
| int | devscan_gettype (char *name) |
| int | devscan_getdevlist (char *buffer) |
| int | ps2netfs_close_socket (void) |
| void | ps2netfs_close_fsys (void) |
| void | ps2netfs_serv (void *argv) |
| int | ps2netfs_Init (void) |
| int | ps2fs_Destroy (void) |
| int | _start (int argc, char *argv[]) |
| #define DEVSCAN_MASK (IOP_DT_FS | IOP_DT_BLOCK) |
| #define DEVSCAN_MAX (DEVSCAN_IOMAX+DEVSCAN_IOXMAX+1) |
| #define PFS_ZONE_SIZE 8192 |
Handles a PS2NETFS_FORMAT_CMD request.
| buf | Pointer to packet data. |
| len | Length of packet. |
status returns: 0 if all request and response handled ok. -X if error.
return values for client: -19 (ENODEV) if device not found +X if handled ok, valid FD returned. -X if error.
| int _start | ( | int | argc, |
| char * | argv[] ) |
Entry point for IRX.
argc and argv make no difference to runstate.
| 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.
Definition at line 47 of file ps2netfs.c.
| int devscan_getdevlist | ( | char * | buffer | ) |
| ModuleInfo_t * devscan_getmodule | ( | const char * | name | ) |
| int devscan_gettype | ( | char * | name | ) |
| int devscan_setup | ( | int | devtype | ) |
Initialise the devices table
| devtype | Mask for device types to return (0x10 = FS drivers). |
This scans ioman and iomanx for devices, then adds them to the internal list, with basename and the handler type.
Also used to re-init the devices table
| int ps2fs_Destroy | ( | void | ) |
| void ps2netfs_close_fsys | ( | void | ) |
| int ps2netfs_close_socket | ( | void | ) |
| int ps2netfs_Init | ( | void | ) |
| void ps2netfs_serv | ( | void * | argv | ) |