From 29478baf24532391cd94bd08d94cf867dee976e6 Mon Sep 17 00:00:00 2001 From: James Barnett Date: Sun, 6 Oct 2019 18:39:36 +0100 Subject: Start on ram backed filesystem --- os/filesystem/ramfs.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 os/filesystem/ramfs.h (limited to 'os/filesystem/ramfs.h') diff --git a/os/filesystem/ramfs.h b/os/filesystem/ramfs.h new file mode 100644 index 0000000..c0dd147 --- /dev/null +++ b/os/filesystem/ramfs.h @@ -0,0 +1,10 @@ +typedef struct +{ + char name[128]; // 128 max filename lentgh + int start_addr; + int end_addr; +} File_t; + +File_t ramfs_create_file(unsigned char * filename); +File_t* ramfs_list_files(); +int ramfs_get_tip_file_idx(); \ No newline at end of file -- cgit v1.2.3