Virtual filesystem and ramdiskfs
All checks were successful
Build documentation / build-and-deploy (push) Successful in 27s
All checks were successful
Build documentation / build-and-deploy (push) Successful in 27s
This commit is contained in:
15
kernel/fs/ramdiskfs.h
Normal file
15
kernel/fs/ramdiskfs.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#ifndef _KERNEL_FS_RAMDISKFS_H
|
||||
#define _KERNEL_FS_RAMDISKFS_H
|
||||
|
||||
#include <libk/std.h>
|
||||
#include <m/fs_desc_buffer.h>
|
||||
|
||||
struct vfs_mountpoint;
|
||||
|
||||
bool ramdiskfs_mount (struct vfs_mountpoint* mountpoint);
|
||||
int ramdiskfs_describe (struct vfs_mountpoint* mountpoint, const char* path,
|
||||
struct fs_desc_buffer* desc);
|
||||
int ramdiskfs_read (struct vfs_mountpoint* mountpoint, const char* path, uint8_t* buffer,
|
||||
size_t off, size_t size);
|
||||
|
||||
#endif // _KERNEL_FS_RAMDISKFS_H
|
||||
Reference in New Issue
Block a user