|
PS2SDK
PS2 Homebrew Libraries
|
Include dependency graph for bdm.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | block_device |
| struct | file_system |
Macros | |
| #define | bdm_IMPORTS_start DECLARE_IMPORT_TABLE(bdm, 1, 1) |
| #define | bdm_IMPORTS_end END_IMPORT_TABLE |
| #define | I_bdm_connect_bd DECLARE_IMPORT(4, bdm_connect_bd) |
| #define | I_bdm_disconnect_bd DECLARE_IMPORT(5, bdm_disconnect_bd) |
| #define | I_bdm_connect_fs DECLARE_IMPORT(6, bdm_connect_fs) |
| #define | I_bdm_disconnect_fs DECLARE_IMPORT(7, bdm_disconnect_fs) |
| #define | I_bdm_get_bd DECLARE_IMPORT(8, bdm_get_bd) |
| #define | I_bdm_RegisterCallback DECLARE_IMPORT(9, bdm_RegisterCallback) |
Typedefs | |
| typedef void(* | bdm_cb) (int event) |
Functions | |
| void | bdm_connect_bd (struct block_device *bd) |
| void | bdm_disconnect_bd (struct block_device *bd) |
| void | bdm_connect_fs (struct file_system *fs) |
| void | bdm_disconnect_fs (struct file_system *fs) |
| void | bdm_get_bd (struct block_device **pbd, unsigned int count) |
| void | bdm_RegisterCallback (bdm_cb cb) |
IOP BDM (Block Device Manager) definitions.
Definition in file bdm.h.
| struct block_device |
| Data Fields | ||
|---|---|---|
| void * | priv | |
| char * | name | |
| unsigned int | devNr | |
| unsigned int | parNr | |
| unsigned char | parId | |
| unsigned int | sectorSize | |
| u64 | sectorOffset | |
| u64 | sectorCount | |
| int(*)(struct block_device *bd, u64 sector, void *buffer, u16 count) | read | |
| int(*)(struct block_device *bd, u64 sector, const void *buffer, u16 count) | write | |
| void(*)(struct block_device *bd) | flush | |
| int(*)(struct block_device *bd) | stop | |
| struct file_system |
| Data Fields | ||
|---|---|---|
| void * | priv | |
| char * | name | |
| int(*)(struct block_device *bd) | connect_bd | |
| void(*)(struct block_device *bd) | disconnect_bd | |
| #define I_bdm_disconnect_bd DECLARE_IMPORT(5, bdm_disconnect_bd) |
| #define I_bdm_disconnect_fs DECLARE_IMPORT(7, bdm_disconnect_fs) |
| #define I_bdm_RegisterCallback DECLARE_IMPORT(9, bdm_RegisterCallback) |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |