ps2sdk
1.1
A collection of Open Source libraries used for developing applications on Sony's PlayStation 2® (PS2).
|
Go to the source code of this file.
Macros | |
#define | USBMASS_IOCTL_RENAME 0x0000 |
#define | USBMASS_IOCTL_GET_CLUSTER 0x0001 |
#define | USBMASS_IOCTL_GET_LBA 0x0002 |
#define | USBMASS_IOCTL_GET_DRIVERNAME 0x0003 |
#define | USBMASS_DEVCTL_STOP_UNIT 0x0000 |
#define | USBMASS_DEVCTL_STOP_ALL 0x0001 |
#define | USBMASS_DEV_STAT_CONN 0x01 |
#define | USBMASS_DEV_STAT_CONF 0x02 |
#define | USBMASS_DEV_STAT_ERR 0x80 |
Enumerations | |
enum | USBMASS_DEV_EV { USBMASS_DEV_EV_CONN = 0 , USBMASS_DEV_EV_DISCONN } |
Common USBHDFSD definitions.
Definition in file usbhdfsd-common.h.
#define USBMASS_DEV_STAT_CONF 0x02 |
CONFigured
Definition at line 38 of file usbhdfsd-common.h.
#define USBMASS_DEV_STAT_CONN 0x01 |
CONNected
Definition at line 36 of file usbhdfsd-common.h.
#define USBMASS_DEV_STAT_ERR 0x80 |
ERRor
Definition at line 40 of file usbhdfsd-common.h.
#define USBMASS_DEVCTL_STOP_ALL 0x0001 |
Issues the SCSI STOP UNIT command too all devices. Use this to shut down devices properly.
Definition at line 32 of file usbhdfsd-common.h.
#define USBMASS_DEVCTL_STOP_UNIT 0x0000 |
Issues the SCSI STOP UNIT command to the specified device. Use this to shut down devices properly.
Definition at line 30 of file usbhdfsd-common.h.
#define USBMASS_IOCTL_GET_CLUSTER 0x0001 |
Returns first cluster number of opened file, within the filesystem.
Definition at line 22 of file usbhdfsd-common.h.
#define USBMASS_IOCTL_GET_DRIVERNAME 0x0003 |
Returns the block device driver name
Definition at line 26 of file usbhdfsd-common.h.
#define USBMASS_IOCTL_GET_LBA 0x0002 |
Returns the absolute LBA of the opened file.
Definition at line 24 of file usbhdfsd-common.h.
#define USBMASS_IOCTL_RENAME 0x0000 |
Rename opened file. Data input to ioctl() -> new, full filename of file.
Definition at line 20 of file usbhdfsd-common.h.
enum USBMASS_DEV_EV |
Enumerator | |
---|---|
USBMASS_DEV_EV_CONN | |
USBMASS_DEV_EV_DISCONN |
Definition at line 43 of file usbhdfsd-common.h.