37 #define MIN_SECTOR_SIZE 512 38 #define MAX_SECTOR_SIZE 4096
uint32_t sectorsPerFat
Definition: partition.h:45
uint32_t bytesPerCluster
Definition: partition.h:64
uint64_t totalSize
Definition: partition.h:57
int mutex_t
typedef for the mutex handle
Definition: lock.c:6
uint32_t rootDirCluster
Definition: partition.h:59
Definition: partition.h:41
void _FAT_partition_readFSinfo(PARTITION *partition)
Definition: partition.c:394
const DISC_INTERFACE * disc
Definition: partition.h:53
uint32_t lastCluster
Definition: partition.h:46
GLsizei const GLchar ** path
Definition: glext.h:7901
int openFileCount
Definition: partition.h:69
GLuint GLsizei const GLchar * label
Definition: glext.h:8583
uint32_t numberLastAllocCluster
Definition: partition.h:49
uint32_t numberOfSectors
Definition: partition.h:60
uint32_t numberFreeCluster
Definition: partition.h:48
PARTITION * _FAT_partition_getPartitionFromPath(const char *path)
Definition: partition.c:353
FAT fat
Definition: partition.h:66
uint32_t firstFree
Definition: partition.h:47
uint32_t cwdCluster
Definition: partition.h:68
void _FAT_partition_writeFSinfo(PARTITION *partition)
Definition: partition.c:425
static IdxT partition(lua_State *L, IdxT lo, IdxT up)
Definition: ltablib.c:310
uint32_t sec_t
Definition: iosuhax_disc_interface.h:40
struct _FILE_STRUCT * firstOpenFile
Definition: partition.h:70
FS_TYPE filesysType
Definition: partition.h:56
Definition: partition.h:41
Definition: partition.h:52
void _FAT_partition_createFSinfo(PARTITION *partition)
Definition: partition.c:363
uint32_t sectorsPerCluster
Definition: partition.h:63
FS_TYPE
Definition: partition.h:41
PARTITION * _FAT_partition_constructor(const DISC_INTERFACE *disc, uint32_t cacheSize, uint32_t SectorsPerPage, sec_t startSector)
Definition: partition.c:311
CACHE * cache
Definition: partition.h:54
Definition: partition.h:41
Definition: iosuhax_disc_interface.h:52
sec_t dataStart
Definition: partition.h:61
mutex_t lock
Definition: partition.h:71
Definition: partition.h:41
sec_t rootDirStart
Definition: partition.h:58
sec_t fatStart
Definition: partition.h:44
Definition: partition.h:43
bool readOnly
Definition: partition.h:72
unsigned __int64 uint64_t
Definition: stdint.h:136
unsigned int uint32_t
Definition: stdint.h:126
void _FAT_partition_destructor(PARTITION *partition)
Definition: partition.c:325
uint32_t bytesPerSector
Definition: partition.h:62
uint32_t fsInfoSector
Definition: partition.h:65