Lines Matching +full:processor +full:- +full:a +full:- +full:side
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * linux/arch/arm/kernel/head-nommu.S
5 * Copyright (C) 1994-2002 Russell King
6 * Copyright (C) 2003-2006 Hyok S. Choi
8 * Common kernel startup code (non-paged MM)
16 #include <asm/asm-offsets.h>
26 * ---------------------------
29 * are: MMU = off, D-cache = off, I-cache = dont care, r0 = 0,
32 * See linux/arch/arm/tools/mach-types for the complete list of machine
47 THUMB( bx r9 ) @ If this is a Thumb-2 kernel,
59 mrc p15, 0, r9, c0, c0 @ get processor id
67 movs r10, r5 @ invalid processor (r5=0)?
89 * the processor type - there is no need to check the machine type
90 * as it has already been validated by the primary processor.
100 mrc p15, 0, r9, c0, c0 @ get processor id
103 movs r10, r5 @ invalid processor?
166 biceq r0, r0, #CR_BR @ Disable the 'default mem-map'
221 /* Setup a single MPU region, either D or I side (D-side for unified) */
222 .macro setup_region bar, acr, sr, side = PMSAv7_DATA_SIDE, unused argument
223 mcr p15, 0, \bar, c6, c1, (0 + \side) @ I/DRBAR
224 mcr p15, 0, \acr, c6, c1, (4 + \side) @ I/DRACR
225 mcr p15, 0, \sr, c6, c1, (2 + \side) @ I/DRSR
244 * Region 1: Background region - covers the whole of RAM as strongly ordered
270 /* Calculate the size of a region covering just the kernel */
279 /* Determine whether the D/I-side memory map is unified. We set the
295 beq 1f @ Memory-map not unified
308 beq 2f @ Memory-map not unified
327 beq 3f @ Memory-map not unified
344 bic r6, r6, #(PMSAv8_MINALIGN - 1)
358 bic r6, r6, #(PMSAv8_MINALIGN - 1)
368 /* Setup Background: 0x0 - min(KERNEL_START, XIP_PHYS_ADDR) */
382 bic r6, r6, #(PMSAv8_MINALIGN - 1)
393 /* Setup Background: max(KERNEL_END, _exiprom) - 0xffffffff */
403 bic r6, r6, #(PMSAv8_MINALIGN - 1)
414 /* Setup Background: min(_exiprom, KERNEL_END) - max(KERNEL_START, XIP_PHYS_ADDR) */
426 bic r6, r6, #(PMSAv8_MINALIGN - 1)
471 /* Determine whether the D/I-side memory map is unified. We set the
535 #include "head-common.S"