Lines Matching +full:processor +full:- +full:b +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>
25 * ---------------------------
28 * are: MMU = off, D-cache = off, I-cache = dont care, r0 = 0,
31 * See linux/arch/arm/tools/mach-types for the complete list of machine
46 THUMB( bx r9 ) @ If this is a Thumb-2 kernel,
58 mrc p15, 0, r9, c0, c0 @ get processor id
66 movs r10, r5 @ invalid processor (r5=0)?
78 b __after_proc_init
88 * the processor type - there is no need to check the machine type
89 * as it has already been validated by the primary processor.
99 mrc p15, 0, r9, c0, c0 @ get processor id
102 movs r10, r5 @ invalid processor?
120 b secondary_start_kernel
167 biceq r0, r0, #CR_BR @ Disable the 'default mem-map'
222 /* Setup a single MPU region, either D or I side (D-side for unified) */
223 .macro setup_region bar, acr, sr, side = PMSAv7_DATA_SIDE, unused argument
224 mcr p15, 0, \bar, c6, c1, (0 + \side) @ I/DRBAR
225 mcr p15, 0, \acr, c6, c1, (4 + \side) @ I/DRACR
226 mcr p15, 0, \sr, c6, c1, (2 + \side) @ I/DRSR
245 * Region 1: Background region - covers the whole of RAM as strongly ordered
280 /* Determine whether the D/I-side memory map is unified. We set the
296 beq 1f @ Memory-map not unified
309 beq 2f @ Memory-map not unified
328 beq 3f @ Memory-map not unified
345 bic r6, r6, #(PMSAv8_MINALIGN - 1)
359 bic r6, r6, #(PMSAv8_MINALIGN - 1)
369 /* Setup Background: 0x0 - min(KERNEL_START, XIP_PHYS_ADDR) */
383 bic r6, r6, #(PMSAv8_MINALIGN - 1)
394 /* Setup Background: max(KERNEL_END, _exiprom) - 0xffffffff */
404 bic r6, r6, #(PMSAv8_MINALIGN - 1)
415 /* Setup Background: min(_exiprom, KERNEL_END) - max(KERNEL_START, XIP_PHYS_ADDR) */
427 bic r6, r6, #(PMSAv8_MINALIGN - 1)
465 b __error_p
472 /* Determine whether the D/I-side memory map is unified. We set the
502 bgt 1b
530 bgt 1b
536 #include "head-common.S"