Syscall fixes: Add support for Cortex-M7; mount syscall has to be suppressed if there are no mountable file systems

This commit is contained in:
Gregory Nutt
2015-07-21 11:20:46 -06:00
parent 05c66b7cc6
commit 2a7416238a
5 changed files with 14 additions and 10 deletions
+5 -3
View File
@@ -303,9 +303,11 @@
# endif
# if !defined(CONFIG_DISABLE_MOUNTPOINT)
# define SYS_fsync (__SYS_mountpoint+0)
# define SYS_mkdir (__SYS_mountpoint+1)
# define SYS_mount (__SYS_mountpoint+2)
# if defined(CONFIG_FS_READABLE)
# define SYS_mount (__SYS_mountpoint+0)
# endif
# define SYS_fsync (__SYS_mountpoint+1)
# define SYS_mkdir (__SYS_mountpoint+2)
# define SYS_rename (__SYS_mountpoint+3)
# define SYS_rmdir (__SYS_mountpoint+4)
# define SYS_umount2 (__SYS_mountpoint+5)