Lines Matching refs:source
35 static uint8_t source[PAGE_SIZE] __attribute__((aligned(PAGE_SIZE))); variable
112 mvpg(KFC(i), buffer, source); in test_exceptions()
129 mvpg(KFC(3), buffer, source); in test_exceptions()
133 mvpg(KFC(i), buffer, source); in test_exceptions()
146 mvpg(0, (void *)PAGE_MASK, source); in test_exceptions()
159 cc = mvpg(0, buffer, source); in test_success()
164 cc = mvpg(0, buffer, source); in test_success()
180 cc = mvpg(0, fresh, source); in test_small_loop()
181 report(page_ok(fresh) && !cc, "cold: %p, %p", source, fresh); in test_small_loop()
187 cc = mvpg(0, dest, source); in test_small_loop()
188 report(page_ok(dest) && !cc, "warm: %p, %p", source, dest); in test_small_loop()
202 protect_page(source, PAGE_ENTRY_P); in test_mmu_prot()
203 cc = mvpg(0, fresh, source); in test_mmu_prot()
205 unprotect_page(source, PAGE_ENTRY_P); in test_mmu_prot()
215 mvpg(0, fresh, source); in test_mmu_prot()
220 protect_page(source, PAGE_ENTRY_I); in test_mmu_prot()
223 mvpg(0, fresh, source); in test_mmu_prot()
225 unprotect_page(source, PAGE_ENTRY_I); in test_mmu_prot()
234 mvpg(0, fresh, source); in test_mmu_prot()
248 mvpg(CCO, fresh, source); in test_mmu_prot()
261 cc = mvpg(CCO, fresh, source); in test_mmu_prot()
265 protect_page(source, PAGE_ENTRY_I); in test_mmu_prot()
266 cc = mvpg(CCO, fresh, source); in test_mmu_prot()
271 cc = mvpg(CCO, fresh, source); in test_mmu_prot()
276 unprotect_page(source, PAGE_ENTRY_I); in test_mmu_prot()
285 init_page(source); in main()