Implement an ATA driver, Add vfsmount/vfsunmount syscalls

This commit is contained in:
2025-10-14 00:39:59 +02:00
parent cb9e15330e
commit 25cb309105
19 changed files with 455 additions and 58 deletions

View File

@ -25,11 +25,11 @@ void vfs_init_littlefs(VfsMountPoint *mp, bool format) {
cfg->sync = &portlfs_sync;
cfg->block_size = LITTLEFS_BLOCK_SIZE;
cfg->block_count = mp->backingsd->capacity(mp->backingsd) / LITTLEFS_BLOCK_SIZE;
cfg->read_size = 64;
cfg->prog_size = 64;
cfg->read_size = LITTLEFS_BLOCK_SIZE;
cfg->prog_size = LITTLEFS_BLOCK_SIZE;
cfg->block_cycles = 16;
cfg->cache_size = 64;
cfg->lookahead_size = 64;
cfg->cache_size = LITTLEFS_BLOCK_SIZE;
cfg->lookahead_size = LITTLEFS_BLOCK_SIZE;
cfg->read_buffer = NULL;
cfg->prog_buffer = NULL;
cfg->lookahead_buffer = NULL;