VFS mountpoint backing device system
All checks were successful
Build documentation / build-and-deploy (push) Successful in 2m24s
All checks were successful
Build documentation / build-and-deploy (push) Successful in 2m24s
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
#ifndef _M_FS_DESC_BUFFER_H
|
||||
#define _M_FS_DESC_BUFFER_H
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#define FS_FILE 0
|
||||
#define FS_DIR 1
|
||||
|
||||
|
||||
6
include/m/ramdisk_device.h
Normal file
6
include/m/ramdisk_device.h
Normal file
@@ -0,0 +1,6 @@
|
||||
#ifndef _M_RAMDISK_DEVICE_H
|
||||
#define _M_RAMDISK_DEVICE_H
|
||||
|
||||
#define RAMDISK_DEVICE 100
|
||||
|
||||
#endif // _M_RAMDISK_DEVICE_H
|
||||
@@ -14,5 +14,6 @@
|
||||
#define ST_OOB_ERROR 10
|
||||
#define ST_BAD_PATH 11
|
||||
#define ST_EXEC_ERROR 12
|
||||
#define ST_MOUNT_ERROR 13
|
||||
|
||||
#endif // _M_STATUS_H
|
||||
|
||||
11
include/m/xdrv_device.h
Normal file
11
include/m/xdrv_device.h
Normal file
@@ -0,0 +1,11 @@
|
||||
#ifndef _M_XDRV_DEVICE_H
|
||||
#define _M_XDRV_DEVICE_H
|
||||
|
||||
#define XDRV_TYPE_RAMDRV 0
|
||||
|
||||
#define XDRV_GET_SIZE 0
|
||||
#define XDRV_GET_SECTOR_SIZE 1
|
||||
#define XDRV_GET_DEVICE_TYPE 2
|
||||
#define XDRV_READ 3
|
||||
|
||||
#endif // _M_XDRV_DEVICE_H
|
||||
Reference in New Issue
Block a user