sdk-core v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Loading...
Searching...
No Matches
cdfs_iop.h File Reference

Go to the source code of this file.

Classes

struct  TocEntry

Macros

#define MODNAME   "cdfs_driver"
#define DPRINTF(args...)
#define CDFS_FILEPROPERTY_DIR   0x02

Enumerations

enum  Cdvd_Changed_Index { CHANGED_TOC = 0 , CHANGED_FIO = 1 , CHANGED_MAX }

Functions

struct TocEntry __attribute__ ((packed))
int cdfs_prepare (void)
int cdfs_start (void)
int cdfs_finish (void)
int cdfs_findfile (const char *fname, struct TocEntry *tocEntry)
int cdfs_readSect (u32 lsn, u32 sectors, u8 *buf)
int cdfs_getDir (const char *pathname, struct TocEntry tocEntry[], unsigned int req_entries)
int cdfs_checkDiskChanged (enum Cdvd_Changed_Index index)

Variables

u32 fileLBA
u32 fileSize
u8 fileProperties
unsigned char dateStamp [8]
char filename [128+1]
u8 padding [2]
enum Cdvd_Changed_Index __attribute__

Macro Definition Documentation

◆ CDFS_FILEPROPERTY_DIR

#define CDFS_FILEPROPERTY_DIR   0x02

Definition at line 15 of file cdfs_iop.h.

◆ DPRINTF

#define DPRINTF ( args...)
Value:
do { } while(0)

Definition at line 12 of file cdfs_iop.h.

◆ MODNAME

#define MODNAME   "cdfs_driver"

Definition at line 8 of file cdfs_iop.h.

Enumeration Type Documentation

◆ Cdvd_Changed_Index

enum Cdvd_Changed_Index

Definition at line 26 of file cdfs_iop.h.

Function Documentation

◆ __attribute__()

struct TocEntry __attribute__ ( (packed) )

Definition at line 21 of file gpt_types.h.

◆ cdfs_checkDiskChanged()

int cdfs_checkDiskChanged ( enum Cdvd_Changed_Index index)
extern

Definition at line 1040 of file cdfs_iop.c.

◆ cdfs_findfile()

int cdfs_findfile ( const char * fname,
struct TocEntry * tocEntry )
extern

Definition at line 684 of file cdfs_iop.c.

◆ cdfs_finish()

int cdfs_finish ( void )
extern

Definition at line 677 of file cdfs_iop.c.

◆ cdfs_getDir()

int cdfs_getDir ( const char * pathname,
struct TocEntry tocEntry[],
unsigned int req_entries )
extern

Definition at line 871 of file cdfs_iop.c.

◆ cdfs_prepare()

int cdfs_prepare ( void )
extern

Definition at line 651 of file cdfs_iop.c.

◆ cdfs_readSect()

int cdfs_readSect ( u32 lsn,
u32 sectors,
u8 * buf )
extern

Definition at line 794 of file cdfs_iop.c.

◆ cdfs_start()

int cdfs_start ( void )
extern

Definition at line 673 of file cdfs_iop.c.

Variable Documentation

◆ dateStamp

unsigned char dateStamp[8]

Definition at line 3 of file cdfs_iop.h.

◆ fileLBA

u32 fileLBA

Definition at line 0 of file cdfs_iop.h.

◆ filename

char filename[128+1]

Definition at line 4 of file cdfs_iop.h.

◆ fileProperties

u8 fileProperties

Definition at line 2 of file cdfs_iop.h.

◆ fileSize

u32 fileSize

Definition at line 1 of file cdfs_iop.h.

◆ padding

u8 padding[2]

Definition at line 5 of file cdfs_iop.h.