This commit is contained in:
lr
2024-05-20 14:32:22 +08:00
20 changed files with 312 additions and 33 deletions
@@ -14,7 +14,7 @@
#include "block_io.h"
#include "fs.h"
#include "libfs_to_client.h"
#include "libfs.h"
#include "libserial.h"
#include "usyscall.h"
@@ -23,8 +23,8 @@ INC_DIR = -I$(KERNEL_ROOT)/services/fs/libfs \
-I$(KERNEL_ROOT)/services/boards/$(BOARD) \
-I$(KERNEL_ROOT)/services/app
fs_server: libfs_to_client.o
@mv $^ ../../app
fs_server: libfs.o
@mv $^ $(KERNEL_ROOT)/services/app
%.o: %.c
@echo "cc $^"
@@ -9,7 +9,7 @@
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PSL v2 for more details.
*/
#include "libfs_to_client.h"
#include "libfs.h"
IPC_INTERFACE(Ipc_ls, 1, path, strlen(path) + 1);
int ls(struct Session* session, char* path)