Searched refs:mapped_ro (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/tests/kernel/mem_protect/mem_map/src/ |
D | main.c | 58 uint8_t *mapped_rw, *mapped_ro; in ZTEST() local 78 k_mem_map_phys_bare(&mapped_ro, k_mem_phys_addr(buf), in ZTEST() 114 zassert_equal(expected_val, mapped_ro[i], in ZTEST() 116 i, expected_val, mapped_ro[i]); in ZTEST() 118 zassert_equal(buf[i], mapped_ro[i], in ZTEST() 120 i, buf[i], mapped_ro[i]); in ZTEST() 125 mapped_ro[0] = 42; in ZTEST() 150 uint8_t *mapped_exec, *mapped_ro; in ZTEST() local 172 k_mem_map_phys_bare(&mapped_ro, k_mem_phys_addr(__test_mem_map_start), in ZTEST() 176 func = (void (*)(bool *executed))mapped_ro; in ZTEST()
|