1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-26 16:18:31 +00:00

Enable missing Access Flag for secondary cores on ARMv6/v7

Spotted by:	Wojciech Macek <wma@semihalf.com>
Obtained from:	Semihalf
This commit is contained in:
Zbigniew Bodek 2013-12-02 13:09:59 +00:00
parent 05af64096c
commit a92a06d31a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=258845

View File

@ -391,6 +391,7 @@ Ltag:
mrc p15, 0, r0, c1, c0, 0
#if defined(CPU_ARM1136) || defined(CPU_ARM1176) || defined(CPU_MV_PJ4B) || defined(CPU_CORTEXA)
orr r0, r0, #CPU_CONTROL_V6_EXTPAGE
orr r0, r0, #CPU_CONTROL_AF_ENABLE
#endif
orr r0, r0, #(CPU_CONTROL_MMU_ENABLE | CPU_CONTROL_DC_ENABLE)
mcr p15, 0, r0, c1, c0, 0