zephyr/tests/kernel/mem_protect
Daniel Leung f786ecc075 tests: mem_protect/mem_map: add data cache manipulations
This adds data cache manipulations, flushing and invalidation,
to the tests where buffer content are being written and
compared. These tests map different virtual pages to the same
physical pages, and write to one of the mapped virtual
addresses. Some SoCs may cache the virtual address separately
and writes to one virtual address will not be reflected to
another virtual address, this failing the comparison. So we
need to manually flush the cache after writing to the buffer,
and invalidating cache before reading. Note that not all reads
and writes need this treatment as some of them only needs to
test for access permissions, and not the memory content.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2024-12-19 21:54:16 +01:00
..
demand_paging tests: demand_paging/mem_map: move malloc config to prj.conf 2024-12-07 16:01:10 +00:00
futex
mem_map tests: mem_protect/mem_map: add data cache manipulations 2024-12-19 21:54:16 +01:00
mem_protect arch: deprecate _current 2024-11-23 20:12:24 -05:00
obj_validation arch: deprecate _current 2024-11-23 20:12:24 -05:00
protection tests: mem_protect/protection: Use __noinline attribute 2024-11-30 01:04:11 +01:00
stack_random
stackprot tests: mem_protect/stackprot: Use __noinline attribute 2024-11-30 01:04:11 +01:00
sys_sem tests: copy intel_adsp_ace30_ptl.conf to *_sim.conf 2024-11-18 13:18:22 -05:00
syscalls tests: mem_protect/syscalls: exclude board numaker_m2l31ki 2024-06-12 21:13:26 -04:00
userspace arch: deprecate _current 2024-11-23 20:12:24 -05:00