zephyr/tests/kernel/mem_protect
Eugeniy Paltsev f55080e4f9 tests: mem_protect: avoid RO region access optimization
Compiler may optimize away write to RO region and following
readback so we won't trigger fault (that actually happens with
arc MWDT toolchain).

Add volatile to avoid that.

Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
2020-10-06 11:41:23 -04:00
..
futex tests: Apply IRQ offload API change 2020-09-02 13:48:13 +02:00
mem_map tests: kernel: mem_map: Explicitly cast function pointer to (void *) 2020-09-21 16:49:21 -05:00
mem_protect tests: added new tests for memory partitions 2020-10-02 11:35:28 +02:00
obj_validation tests: update kernel objects tests 2020-07-16 12:10:31 +02:00
protection tests: mem_protect: avoid RO region access optimization 2020-10-06 11:41:23 -04:00
stack_random tests: make find_package(Zephyr...) REQUIRED 2020-05-29 10:47:25 +02:00
stackprot tests: mem protection tests updated tags 2020-08-06 07:31:46 -04:00
sys_sem tests: Apply IRQ offload API change 2020-09-02 13:48:13 +02:00
syscalls tests: kernel: mem_protect: syscalls: FAULTY_ADDRESS for nucleo_l073rz 2020-09-23 13:11:19 -05:00
userspace tests: userspace: fix flaky behavior 2020-09-09 13:05:38 +02:00