PS2SDK
PS2 Homebrew Libraries
blkio-ioctl.h
Go to the documentation of this file.
1 /*
2 # _____ ___ ____ ___ ____
3 # ____| | ____| | | |____|
4 # | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
5 #-----------------------------------------------------------------------
6 # Copyright ps2dev - http://www.ps2dev.org
7 # Licenced under Academic Free License version 2.0
8 # Review ps2sdk README & LICENSE files for further details.
9 */
10 
16 #ifndef __BLKIO_IOCTL__
17 #define __BLKIO_IOCTL__
18 
19 #define FDIOC_BLKIO 0x4601
20 
21 typedef enum sceFsRWTYPE_
22 {
23  sceFsREADING,
24  sceFsWRITING,
25 } sceFsRWTYPE;
26 
27 typedef struct sceFsDevctlBlkIO_
28 {
29  u32 lbn;
30  u32 nblk;
31  void *addr;
32  u32 blksiz;
33  sceFsRWTYPE type;
34  u32 mode;
36 
37 #endif /* __BLKIO_IOCTL__ */
sceFsDevctlBlkIO_
Definition: blkio-ioctl.h:27