Lines Matching +full:no +full:- +full:sync +full:- +full:mode

1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * This file contains miscellaneous low-level functions.
4 * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org)
21 #include <asm/asm-offsets.h>
27 #include <asm/feature-fixups.h>
47 sync
53 sync
58 sync
62 sync
68 sync
73 sync
80 * Do an IO access in real mode
86 sync
88 sync
94 sync
100 sync
106 sync
111 * Do an IO access in real mode
117 sync
119 sync
125 sync
131 sync
137 sync
148 sync
150 sync
155 sync
163 sync
165 sync
170 sync
203 sync
235 sync
261 addi r5,r5,kexec_flag-1b
264 #ifdef CONFIG_KEXEC_CORE /* use no memory without kexec */
292 * BOOK3E has no real MMU mode, so we have to setup the initial TLB
298 * Invalidate all non-IPROT TLB entries to avoid any TLB conflict.
302 sync
307 subi r10,r10,1 /* Last entry: no conflict with kernel text */
337 * switch to real mode
338 * mark the paca as no longer used
351 * switch to real mode (turn mmu off)
353 * 0 and 1 (big endian) of the effective address in real mode
380 * does the grungy work with stack switching and real mode switches
388 /* switch stacks to newstack -- &kexec_stack.stack */
389 stdu r1,THREAD_SIZE-STACK_FRAME_MIN_SIZE(r3)
398 std r31,-8(r1)
399 std r30,-16(r1)
400 std r29,-24(r1)
401 std r28,-32(r1)
402 std r27,-40(r1)
403 std r26,-48(r1)
404 std r25,-56(r1)
406 stdu r1,-STACK_FRAME_MIN_SIZE-64(r1)
426 /* We need to turn the MMU off unless we are in hash mode
453 stw r6,kexec_flag-1b(5)
484 * and 0 will store phys into struct boot-block and load r3 from there,
485 * copy kernel 0-0x100 and tell slaves to back down to 0x60 again
496 blr /* image->start(physid, image->start, 0); */