Lines Matching +full:layer +full:- +full:base +full:- +full:offset
2 /*-
3 * Copyright (C) 2010-2016 Nathan Whitehorn
76 * that it ends up before any linker-generated call stubs and actually at
86 . = kbootentry + 0x40 /* Magic address used in platform layer */
89 .long -1
94 /* Invalidate icache for low-memory copy and jump there */
141 /* Set 64-bit mode if not yet set before branching to C */
154 .llong __tocbase + 0x8000 - .
159 /* Get load offset */
160 ld %r31,-0x8000(%r2) /* First TOC entry is TOC base */
161 subf %r31,%r31,%r2 /* Subtract from real TOC base to get base */
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.
239 * Offset the SLBE into the DMAP, add 16 to the index, and write
245 or %r16, %r16, %r14 /* index is 0-15 */
247 or %r16, %r16, %r18 /* SLBE DMAP offset */
272 * r3-r7: arguments to go to __start
273 * r8: offset from current kernel address to apply
280 addi %r25,%r25,2f-1b