vitasdk
Documentation of the vitasdk

Detailed Description

Exports for Kernel.


Using this library in your project

Include the header file in your project:



Functions

 VITASDK_BUILD_ASSERT_EQ (0xC, SceExfatfsDateTime)
 
 VITASDK_BUILD_ASSERT_EQ (0x200, SceExfatfsMbr)
 
 VITASDK_BUILD_ASSERT_EQ (0x230, SceExfatfsDrive)
 
 VITASDK_BUILD_ASSERT_EQ (0x290, SceExfatfsFnode)
 
 VITASDK_BUILD_ASSERT_EQ (0x38, SceExfatfsFile)
 
 VITASDK_BUILD_ASSERT_EQ (0x430, SceExfatfsFileSystem)
 
 VITASDK_BUILD_ASSERT_EQ (0x295D60, SceExfatfsSharedResource)
 

Macros

#define SCE_EXFATFS_MAX_FILE_SYSTEM   (0xF)
 
#define SCE_EXFATFS_MAX_FNODE   (0x1000)
 
#define SCE_EXFATFS_TYPE_FAT   (1)
 
#define SCE_EXFATFS_TYPE_EXFAT   (2)
 

Data Structure Documentation

◆ SceExfatfsDateTime

struct SceExfatfsDateTime
Data Fields
SceUInt16 year
SceUInt16 month
SceUInt16 day
SceUInt16 hour
SceUInt16 minute
SceUInt16 second

◆ SceExfatfsMbr

struct SceExfatfsMbr
Data Fields
char data[0x200]

◆ SceExfatfsDrive

struct SceExfatfsDrive
Data Fields
SceUInt32 state
int unk_0x04[0x2F]
const char * assignName
int unk_0xC4[0x47]
SceKernelFastMutex fastmutex
const struct SceVfsMount2 * VfsMount2
void * vp
void * unk_0x228
int unk_0x22C

◆ SceExfatfsFnode

struct SceExfatfsFnode
Data Fields
SceUInt16 FilePath[0x208 >> 1]
SceUInt16 * FileName
struct _SceExfatfsFileSystem * fileSystem
struct SceExfatfsFnode Stat
SceUInt32 DirCluster
int data_0x254
SceOff DirOffset
SceUInt32 DirOffClust
int data_0x264
SceSize dirSize
SceUInt8 dirGeneralSecondaryFlags
SceUInt8 data_0x26D
SceUInt8 data_0x26E
SceUInt8 data_0x26F
SceUInt16 refCount
SceUInt16 fdCount
int data_0x274
SceUInt32 cache_element_count
void * cluster_cache_array
SceUInt32 tailCluster
SceUInt32 tailIndex
SceUInt32 clusterCount
SceUInt32 chunkCount

◆ SceExfatfsFile

struct SceExfatfsFile
Data Fields
SceExfatfsFnode * fnode
int mode
SceOff Position
void * Buf
void * BufTop
SceUInt32 Cluster
SceUInt32 clusterIndex
int unk_0x20
int unk_0x24
SceUInt64 cacheIndex
int unk_0x30
int unk_0x34

◆ SceExfatfsFileSystem

struct SceExfatfsFileSystem
Data Fields
const char * devname
int unk_4
int unk_8
int rsvd_sector
int unk_10
int available_clusters
void * PBRBuf
int unk_1C
int unk_20
int unk_24
void * unk_28
int unk_2C
int unk_30
void * unk_34
void * unk_38
int unk_3C
int unk_40
int unk_44
int unk_48
int unk_4C
void * unk_50
void * unk_54
int unk_58
int unk_5C
int unk_60
int unk_64
int unk_68
int unk_6C
int unk_70
int unk_74
int unk_78
int unk_7C
int unk_80
int unk_84
int unk_88
int unk_8C
int unk_90
int unk_94
int unk_98
int unk_9C
int unk_A0
int unk_A4
int unk_A8
SceExfatfsDrive * drive
SceUInt32 mount_mode
int unk_B4
int unk_B8
SceSize sectorSize
SceUInt32 clusterSectorCount
SceUInt32 firstClusterOfRoot
SceUInt32 devSectors
int unk_CC
char data_0xD0[0x48]
SceExfatfsFile file
SceExfatfsFnode fnode
SceKernelFastMutex * rootFastMutex
void * unk_0x3E4
SceUID unk_0x3E8
void * unk_0x3EC
SceKernelFastMutex fastmutex

◆ SceExfatfsSharedResource

struct SceExfatfsSharedResource
Data Fields
SceExfatfsFileSystem fileSystem[SCE_EXFATFS_MAX_FILE_SYSTEM]
SceExfatfsMbr mbr[SCE_EXFATFS_MAX_FILE_SYSTEM]
void * data_0x5CD0
int data_0x5CD4
SceExfatfsFnode fnode[SCE_EXFATFS_MAX_FNODE]
int data_0x295CD8[0x78 >> 2]
int data_0x295D50
int data_0x295D54
int data_0x295D58
int data_0x295D5C

◆ SceExfatfsFnode.Stat

struct SceExfatfsFnode.Stat
Data Fields
SceUInt16 st_mode
SceUInt16 st_type
SceUInt16 st_dev
SceUInt16 st_uid
SceOff Size
SceExfatfsDateTime ctime
SceExfatfsDateTime atime
SceExfatfsDateTime mtime
SceUInt32 StartCluster
SceUInt8 data_0x248
SceUInt8 data_0x249
SceUInt8 data_0x24A
SceUInt8 data_0x24B
int data_0x24C

Macro Definition Documentation

◆ SCE_EXFATFS_MAX_FILE_SYSTEM

#define SCE_EXFATFS_MAX_FILE_SYSTEM   (0xF)

◆ SCE_EXFATFS_MAX_FNODE

#define SCE_EXFATFS_MAX_FNODE   (0x1000)

◆ SCE_EXFATFS_TYPE_FAT

#define SCE_EXFATFS_TYPE_FAT   (1)

◆ SCE_EXFATFS_TYPE_EXFAT

#define SCE_EXFATFS_TYPE_EXFAT   (2)

Function Documentation

◆ VITASDK_BUILD_ASSERT_EQ() [1/7]

VITASDK_BUILD_ASSERT_EQ ( 0xC  ,
SceExfatfsDateTime   
)

◆ VITASDK_BUILD_ASSERT_EQ() [2/7]

VITASDK_BUILD_ASSERT_EQ ( 0x200  ,
SceExfatfsMbr   
)

◆ VITASDK_BUILD_ASSERT_EQ() [3/7]

VITASDK_BUILD_ASSERT_EQ ( 0x230  ,
SceExfatfsDrive   
)

◆ VITASDK_BUILD_ASSERT_EQ() [4/7]

VITASDK_BUILD_ASSERT_EQ ( 0x290  ,
SceExfatfsFnode   
)

◆ VITASDK_BUILD_ASSERT_EQ() [5/7]

VITASDK_BUILD_ASSERT_EQ ( 0x38  ,
SceExfatfsFile   
)

◆ VITASDK_BUILD_ASSERT_EQ() [6/7]

VITASDK_BUILD_ASSERT_EQ ( 0x430  ,
SceExfatfsFileSystem   
)

◆ VITASDK_BUILD_ASSERT_EQ() [7/7]

VITASDK_BUILD_ASSERT_EQ ( 0x295D60  ,
SceExfatfsSharedResource   
)