Volume-centric VFS implementation
All checks were successful
Build documentation / build-and-deploy (push) Successful in 2m41s

This commit is contained in:
2026-02-25 08:53:54 +01:00
parent 62a6543dab
commit 704db2dfa4
26 changed files with 441 additions and 406 deletions

View File

@@ -51,19 +51,19 @@ void* argument_ptr (void);
int device_do (int device_id, int cmd, void* a1, void* a2, void* a3, void* a4);
/* Run external ELF program */
int exec (const char* path);
int exec (const char* volume, const char* path);
/* Open a file */
int open (const char* path);
int volume_open (const char* volume);
/* Close a file */
int close (int handle);
int volume_close (void);
/* Read a file */
int read (int handle, size_t off, uint8_t* buffer, size_t size);
int read (const char* path, size_t off, uint8_t* buffer, size_t size);
/* describe a file */
int describe (int handle, struct desc* desc);
int describe (const char* path, struct desc* desc);
/* send a message to a procgroup's mail */
int mail_send (int pgid, void* mesg, size_t mesg_size);