fs/mmap/msync:support msync.

Summary:
  1.Added msync callback in struct mm_map_entry_s
  2.Added msync API in fs_msync.c
  3.Added static msync_rammap for rammap.

Signed-off-by: chenrun1 <chenrun1@xiaomi.com>
This commit is contained in:
chenrun1
2024-05-29 11:47:01 +08:00
committed by Xiang Xiao
parent 484600bd75
commit d04205aa3d
10 changed files with 227 additions and 11 deletions
+1
View File
@@ -248,6 +248,7 @@ SYSCALL_LOOKUP(fchown, 3)
SYSCALL_LOOKUP(utimens, 2)
SYSCALL_LOOKUP(lutimens, 2)
SYSCALL_LOOKUP(futimens, 2)
SYSCALL_LOOKUP(msync, 3)
SYSCALL_LOOKUP(munmap, 2)
#if defined(CONFIG_PSEUDOFS_SOFTLINKS)