Lines Matching +full:sub +full:- +full:processor
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)?
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?
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) */
245 * Region 1: Background region - covers the whole of RAM as strongly ordered
274 sub r6, r6, r5 @ Minimum size of region to map
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
321 sub r6, r6, r0 @ Minimum size of region to map
328 beq 3f @ Memory-map not unified
344 sub r6, r6, #1
345 bic r6, r6, #(PMSAv8_MINALIGN - 1)
358 sub r6, r6, #1
359 bic r6, r6, #(PMSAv8_MINALIGN - 1)
369 /* Setup Background: 0x0 - min(KERNEL_START, XIP_PHYS_ADDR) */
382 sub r6, r6, #1
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) */
426 sub r6, r6, #1
427 bic r6, r6, #(PMSAv8_MINALIGN - 1)
472 /* Determine whether the D/I-side memory map is unified. We set the
485 sub r3, r3, #MPU_RNG_SIZE
486 sub r4, r4, #1
517 sub r3, r3, #MPU_RNG_SIZE
518 sub r4, r4, #1
536 #include "head-common.S"