syscalls: improve working with files using vfs
This commit is contained in:
+3
-1
@@ -5,12 +5,14 @@
|
||||
#include "../include/atapi.h"
|
||||
#include "../include/lib9660.h"
|
||||
|
||||
extern l9660_fs global_fs;
|
||||
extern l9660_fs* global_fs;
|
||||
extern l9660_dir* root_dir;
|
||||
|
||||
bool read_sector_callback(l9660_fs *fs, void *buf, uint32_t sector);
|
||||
void mount_fs();
|
||||
void list_files(l9660_dir *dir);
|
||||
|
||||
size_t vfs_read_file(l9660_file *file, uint8_t* buffer);
|
||||
size_t vfs_read_file_length(l9660_file *file, uint8_t* buffer, size_t length);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user