Port fat_io_lib, mount atasd0mp1 as sys:
This commit is contained in:
17
kernel/fs/fatfs/fat_context.h
Normal file
17
kernel/fs/fatfs/fat_context.h
Normal file
@ -0,0 +1,17 @@
|
||||
#ifndef FAT_CONTEXT_H_
|
||||
#define FAT_CONTEXT_H_
|
||||
|
||||
#include "fat_defs.h"
|
||||
#include "fat_filelib.h"
|
||||
|
||||
struct fat_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;
|
||||
void *extra;
|
||||
};
|
||||
|
||||
#endif // FAT_CONTEXT_H_
|
||||
Reference in New Issue
Block a user