feat(kernel): implement Phase 5 - VFS abstraction, in-memory RamFS & interactive airlys-sh shell

This commit is contained in:
Adam Eehan committed 2026-10-23 17:58:20 +05:30
1 parent 6ee659ac6b
commit adfa4dc262
10 files changed
+680 -11

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
#ifndef AIRLYS_RAMFS_H
#define AIRLYS_RAMFS_H
#include <airlys/vfs.h>
/* Initialize in-memory RAM filesystem and standard directories */
vfs_node_t* ramfs_init(void);
/* Create directory under a parent directory */
vfs_node_t* ramfs_create_dir(vfs_node_t* parent, const char* name);
/* Create a file with given text content under a parent directory */
vfs_node_t* ramfs_create_file(vfs_node_t* parent, const char* name, const char* content);
#endif /* AIRLYS_RAMFS_H */