Files
mop3/libfat/_fatctx.h
kamkow1 cc291568f5
All checks were successful
Build documentation / build-and-deploy (push) Successful in 4m33s
sdutil Initialize CHS too (some BIOSes dont like it), libfat Add update callback function
2026-03-21 15:16:03 +01:00

18 lines
398 B
C

#ifndef _KERNEL_FS_FATFS_CTX_H
#define _KERNEL_FS_FATFS_CTX_H
#include <stddef.h>
struct fatfs_ctx {
FL_FILE _files[FATFS_MAX_OPEN_FILES];
int _filelib_init;
int _filelib_valid;
struct fatfs _fs;
struct fat_list _open_file_list;
struct fat_list _free_file_list;
char device_name[0x100];
void (*update_cb) (size_t sector, size_t sector_count);
};
#endif // _KERNEL_FS_FATFS_CTX_H