aboutsummaryrefslogtreecommitdiff
path: root/os/filesystem/ramfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/filesystem/ramfs.h')
-rw-r--r--os/filesystem/ramfs.h10
1 files changed, 10 insertions, 0 deletions
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