Added SimpleFS read support

This commit is contained in:
Jozef Nagy 2025-01-29 20:05:50 +01:00
parent 758d681005
commit 4ec95a6a52
Signed by untrusted user who does not match committer: crz
GPG key ID: 459A4811CEAC7068
8 changed files with 174 additions and 107 deletions

View file

@ -20,8 +20,11 @@
#ifndef _FS_UEFI_SFS_H
#define _FS_UEFI_SFS_H
#ifndef AXBOOT_UEFI
#include <vfs/drive.h>
#include <stdint.h>
#endif
struct vfs_drive *sfs_init(char *mountpoint);
size_t sfs_read(char *filename, char *buffer, struct vfs_drive *dev, void *fsdata);
#endif /* _FS_UEFI_SFS_H */