proc-v7.S (23d1c515d8fc6d74bea442a4b687c3b5b8627ec4) | proc-v7.S (26584853a44c58f3d6ac7360d697a2ddcd1a3efa) |
---|---|
1/* 2 * linux/arch/arm/mm/proc-v7.S 3 * 4 * Copyright (C) 2001 Deep Blue Solutions Ltd. 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License version 2 as 8 * published by the Free Software Foundation. --- 239 unchanged lines hidden (view full) --- 248 * NOS = PRRR[24+n] = 1 - not outer shareable 249 */ 250 ldr r5, =0xff0a81a8 @ PRRR 251 ldr r6, =0x40e040e0 @ NMRR 252 mcr p15, 0, r5, c10, c2, 0 @ write PRRR 253 mcr p15, 0, r6, c10, c2, 1 @ write NMRR 254 adr r5, v7_crval 255 ldmia r5, {r5, r6} | 1/* 2 * linux/arch/arm/mm/proc-v7.S 3 * 4 * Copyright (C) 2001 Deep Blue Solutions Ltd. 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License version 2 as 8 * published by the Free Software Foundation. --- 239 unchanged lines hidden (view full) --- 248 * NOS = PRRR[24+n] = 1 - not outer shareable 249 */ 250 ldr r5, =0xff0a81a8 @ PRRR 251 ldr r6, =0x40e040e0 @ NMRR 252 mcr p15, 0, r5, c10, c2, 0 @ write PRRR 253 mcr p15, 0, r6, c10, c2, 1 @ write NMRR 254 adr r5, v7_crval 255 ldmia r5, {r5, r6} |
256#ifdef CONFIG_CPU_ENDIAN_BE8 257 orr r6, r6, #1 << 25 @ big-endian page tables 258#endif |
|
256 mrc p15, 0, r0, c1, c0, 0 @ read control register 257 bic r0, r0, r5 @ clear bits them 258 orr r0, r0, r6 @ set them 259 mov pc, lr @ return to head.S:__ret 260ENDPROC(__v7_setup) 261 262 /* AT 263 * TFR EV X F I D LR S --- 63 unchanged lines hidden --- | 259 mrc p15, 0, r0, c1, c0, 0 @ read control register 260 bic r0, r0, r5 @ clear bits them 261 orr r0, r0, r6 @ set them 262 mov pc, lr @ return to head.S:__ret 263ENDPROC(__v7_setup) 264 265 /* AT 266 * TFR EV X F I D LR S --- 63 unchanged lines hidden --- |