From: John Hodge Date: Sat, 14 Jan 2012 13:09:17 +0000 (+0800) Subject: Kernel/armv7 - Noted said hack as such X-Git-Tag: rel0.14~13 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=2905fecbe9bf464d09d5f2a29cdc8655d7cc0b45;p=tpg%2Facess2.git Kernel/armv7 - Noted said hack as such --- diff --git a/Kernel/arch/armv7/mm_virt.c b/Kernel/arch/armv7/mm_virt.c index 7ab7f61f..0a92f354 100644 --- a/Kernel/arch/armv7/mm_virt.c +++ b/Kernel/arch/armv7/mm_virt.c @@ -166,6 +166,7 @@ int MM_int_SetPageInfo(tVAddr VAddr, tMM_PageInfo *pi) *desc = 0; TLBIMVA( VAddr ); DCCMVAC( (tVAddr) desc ); + #warning "HACK: TLBIALL" TLBIALL(); LEAVE('i', 0); return 0; @@ -178,6 +179,7 @@ int MM_int_SetPageInfo(tVAddr VAddr, tMM_PageInfo *pi) *desc |= (pi->AP & 3) << 4; // AP *desc |= ((pi->AP >> 2) & 1) << 9; // APX TLBIMVA( VAddr ); + #warning "HACK: TLBIALL" TLBIALL(); DCCMVAC( (tVAddr) desc ); LEAVE('i', 0);