Lines Matching +full:spin +full:- +full:up
2 /*-
3 * Copyright (C) 2010-2016 Nathan Whitehorn
76 * that it ends up before any linker-generated call stubs and actually at
78 * (start of image) + 0x60, so put a spin loop there.
89 .long -1
94 /* Invalidate icache for low-memory copy and jump there */
105 lwz %r1,0x40(0) /* Spin on ap_kexec_spin_sem */
141 /* Set 64-bit mode if not yet set before branching to C */
149 /* Set up the TOC pointer */
154 .llong __tocbase + 0x8000 - .
160 ld %r31,-0x8000(%r2) /* First TOC entry is TOC base */
163 /* Set up the stack pointer */
165 .llong tmpstk + TMPSTKSZ - 96 - .
179 .llong _DYNAMIC-.
212 * We need to do this dance because we are running with virtual-mode
216 * 1) The kernel is currently identity-mapped.
222 * 6) We are running on 64-bit AIM.
245 or %r16, %r16, %r14 /* index is 0-15 */
260 * Now that we are set up with a temporary direct map, we can
272 * r3-r7: arguments to go to __start
280 addi %r25,%r25,2f-1b