20 #include <asm/pgtable.h>
21 #include <asm/tlbflush.h>
22 #include <asm/cacheflush.h>
26 #define minicache_pgprot __pgprot(L_PTE_PRESENT | L_PTE_YOUNG | \
40 mc_copy_user_page(
void *
from,
void *to)
47 "stmfd sp!, {r4, r5, lr} \n\
57 2: ldrd r2, [r0], #8 \n\
66 mcr p15, 0, ip, c7, c10, 1 @ clean D line\n\
68 mcr p15, 0, ip, c7, c6, 1 @ invalidate D line\n\
77 mcr p15, 0, ip, c7, c10, 1 @ clean D line\n\
79 mcr p15, 0, ip, c7, c6, 1 @ invalidate D line\n\
82 ldmfd sp!, {r4, r5, pc} "
99 mc_copy_user_page((
void *)COPYPAGE_MINICACHE, kto);
118 strd r2, [%0], #8 \n\
119 strd r2, [%0], #8 \n\
120 strd r2, [%0], #8 \n\
121 strd r2, [%0], #8 \n\
122 mcr p15, 0, ip, c7, c10, 1 @ clean D line\n\
124 mcr p15, 0, ip, c7, c6, 1 @ invalidate D line\n\
128 :
"r1",
"r2",
"r3",
"ip");