2023-03-10 10:32:50 +00:00
|
|
|
// This file is part of noxos and licensed under the MIT open source license
|
2023-02-26 15:14:37 +00:00
|
|
|
|
|
|
|
#ifndef NOX_RAMFS_H
|
|
|
|
#define NOX_RAMFS_H
|
|
|
|
|
2023-05-28 19:06:06 +00:00
|
|
|
#include "drivers/builtin/fs/vfs.h"
|
2023-02-26 15:14:37 +00:00
|
|
|
|
2023-05-02 16:01:53 +00:00
|
|
|
void ramfs_file_delete (vfs_node_T* node);
|
|
|
|
uint64_t ramfs_file_write (vfs_node_T* node, uint64_t size, uint8_t* buffer_in);
|
|
|
|
uint64_t ramfs_file_read (vfs_node_T* node, uint64_t size, uint8_t* buffer_out);
|
2023-02-26 15:14:37 +00:00
|
|
|
|
|
|
|
|
|
|
|
#endif //NOX_RAMFS_H
|