Home
last modified time | relevance | path

Searched refs:mapped_rw (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/tests/kernel/mem_protect/mem_map/src/
Dmain.c58 uint8_t *mapped_rw, *mapped_ro; in ZTEST() local
74 k_mem_map_phys_bare(&mapped_rw, k_mem_phys_addr(buf), in ZTEST()
83 mapped_rw[i] = (uint8_t)(i % 256); in ZTEST()
89 k_mem_region_align(&aligned_addr, &aligned_size, (uintptr_t)mapped_rw, in ZTEST()
105 zassert_equal(buf[i], mapped_rw[i], in ZTEST()
107 i, buf[i], mapped_rw[i]); in ZTEST()