incubator-nuttx/fs
xuxingliang 9af5fc5d09 fs/shm: alloc aligned memory if CPU has cache
For kernel builds, shared memory is automatically aligned to page size.
For flat and protected builds, we align the memory size to the CPU cache
line size.

Failure to align memory properly could result in partial data read/write
by the CPU and peripherals, potentially causing data corruption during
cache flushes or invalidations.

Signed-off-by: xuxingliang <xuxingliang@xiaomi.com>
2024-10-27 10:38:58 +08:00
..
aio vfs/file: add reference counting to prevent accidental close during reading writing... 2024-09-17 12:01:53 +08:00
binfs cmake:refine nuttx cmake build system fix CMake build missing part 2024-10-13 02:25:06 +08:00
cromfs fs/xxfs:Replace kmm with fs heap 2024-09-30 16:30:56 +08:00
driver fs:replase all asprintf / strdup in fs with fs_heap_xxx 2024-10-15 01:16:48 +08:00
event fs: support VFS-based named event group 2024-10-09 01:40:00 +08:00
fat fs/xxfs:Replace kmm with fs heap 2024-09-30 16:30:56 +08:00
hostfs fs:replase all asprintf / strdup in fs with fs_heap_xxx 2024-10-15 01:16:48 +08:00
inode fs:replase all asprintf / strdup in fs with fs_heap_xxx 2024-10-15 01:16:48 +08:00
littlefs littlefs:remove the '/' in the end of relpath in mkdir 2024-10-11 15:46:02 +08:00
mmap fs/xxfs:Replace kmm with fs heap 2024-09-30 16:30:56 +08:00
mnemofs fs/mnemofs: Fix extra log unused value error. 2024-10-22 15:42:40 -03:00
mount zipfs:zipfs not need mtd drivers 2024-10-08 19:55:09 +08:00
mqueue mq: correct inode release in mq_inode_release() 2024-10-09 10:17:24 +08:00
nfs fs/xxfs:Replace kmm with fs heap 2024-09-30 16:30:56 +08:00
notify fs:replase all asprintf / strdup in fs with fs_heap_xxx 2024-10-15 01:16:48 +08:00
nxffs fs/nxffs: Fix syslog formats compile error 2024-10-21 19:33:33 +08:00
partition fs/xxfs:Replace kmm with fs heap 2024-09-30 16:30:56 +08:00
procfs sched: add up_this_task and up_change_task macro stub 2024-10-15 15:25:55 +08:00
romfs romfs:extend romfs to enable write part4 2024-10-11 10:42:20 +08:00
rpmsgfs fs/rpmsgfs: return real err value when open failed 2024-10-16 18:12:21 +08:00
semaphore fs/semaphore: fix a minor issue with goto label 2024-10-08 23:21:54 +08:00
shm fs/shm: alloc aligned memory if CPU has cache 2024-10-27 10:38:58 +08:00
smartfs smartfs: return -ENOTTY if ioctl command is not found 2024-10-05 20:52:31 +08:00
socket socketpair.c:Replace kmm with fs heap 2024-10-16 20:56:39 +08:00
spiffs fs/xxfs:Replace kmm with fs heap 2024-09-30 16:30:56 +08:00
tmpfs fs: add fs_heap_strndup, replace strndup with fs_heap_strndup 2024-10-23 00:27:12 +08:00
unionfs fs:replase all asprintf / strdup in fs with fs_heap_xxx 2024-10-15 01:16:48 +08:00
userfs cmake:refine nuttx cmake build system fix CMake build missing part 2024-10-13 02:25:06 +08:00
v9fs container_of: fix compile failed cause of list.h not support container_of 2024-10-23 20:10:43 +08:00
vfs fs/readlink: fix minor issue 2024-10-14 18:08:14 -03:00
zipfs cmake:refine nuttx cmake build system fix CMake build missing part 2024-10-13 02:25:06 +08:00
CMakeLists.txt fs/xxfs:Replace kmm with fs heap 2024-09-30 16:30:56 +08:00
Kconfig fs: support VFS-based named event group 2024-10-09 01:40:00 +08:00
Makefile fs: support VFS-based named event group 2024-10-09 01:40:00 +08:00
fs_heap.c fs_heap: add memalign interface 2024-10-27 10:38:58 +08:00
fs_heap.h fs_heap: add memalign interface 2024-10-27 10:38:58 +08:00
fs_initialize.c fs: add fs_heap, support shm/tmpfs/pseudofile with indepent heap 2024-08-25 22:12:37 +08:00