Home
last modified time | relevance | path

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

/examples/utest/testcases/mm/
A Dtest_cache_rv64.h86 volatile char *remap_nocache = rt_ioremap(page + PV_OFFSET, buf_sz); in _test_dcache_clean() local
93 if (remap_nocache[i] != 0xab) in _test_dcache_clean()
106 uassert_true(remap_nocache[padding - 1] != 0xac); in _test_dcache_clean()
107 uassert_true(remap_nocache[padding + ARCH_PAGE_SIZE] != 0xac); in _test_dcache_clean()
112 if (remap_nocache[i] != 0xab) in _test_dcache_clean()
126 rt_iounmap(remap_nocache); in _test_dcache_clean()
139 volatile char *remap_nocache = rt_ioremap(page + PV_OFFSET, buf_sz); in _test_dcache_invalidate() local
146 remap_nocache[i] = 0xab; in _test_dcache_invalidate()
147 rt_hw_cpu_dcache_invalidate((void *)&remap_nocache[i], 1); in _test_dcache_invalidate()
155 if (remap_nocache[i] == 0xab) in _test_dcache_invalidate()
[all …]
A Dtest_cache_aarch64.h70 volatile char *remap_nocache; in _test_dcache_clean_and_invalidate() local
82 remap_nocache = rt_ioremap(page + PV_OFFSET, buf_sz); in _test_dcache_clean_and_invalidate()
85 memtest(remap_nocache + padding, 0xab, ARCH_PAGE_SIZE); in _test_dcache_clean_and_invalidate()
93 rt_iounmap(remap_nocache); in _test_dcache_clean_and_invalidate()
A Dtest_aspace_api.h296 volatile char *remap_nocache; in aspace_control_tc() local
302 remap_nocache = rt_ioremap(rt_kmem_v2p(vaddr), buf_sz); in aspace_control_tc()
303 uassert_true(!!remap_nocache); in aspace_control_tc()
308 platform_cache_probe = memtest(remap_nocache, 0xab, buf_sz); in aspace_control_tc()
322 uassert_true(!memtest(remap_nocache, 0, buf_sz)); in aspace_control_tc()
327 rt_iounmap(remap_nocache); in aspace_control_tc()

Completed in 4 milliseconds