sdutil Initialize CHS too (some BIOSes dont like it), libfat Add update callback function
All checks were successful
Build documentation / build-and-deploy (push) Successful in 4m33s

This commit is contained in:
2026-03-21 15:16:03 +01:00
parent 3a48856ee4
commit cc291568f5
4 changed files with 70 additions and 9 deletions

View File

@@ -1,6 +1,8 @@
#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;
@@ -9,6 +11,7 @@ struct fatfs_ctx {
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