sdk-core v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Loading...
Searching...
No Matches
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
17#ifndef __BLKIO_IOCTL__
18#define __BLKIO_IOCTL__
19
20#define FDIOC_BLKIO 0x4601
21
22typedef enum sceFsRWTYPE_
23{
24 sceFsREADING,
25 sceFsWRITING,
26} sceFsRWTYPE;
27
28typedef struct sceFsDevctlBlkIO_
29{
30 u32 lbn;
31 u32 nblk;
32 void *addr;
33 u32 blksiz;
34 sceFsRWTYPE type;
35 u32 mode;
36} sceFsDevctlBlkIO;
37
38#endif /* __BLKIO_IOCTL__ */