Lines Matching +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)
19 #include <asm/asm-offsets.h>
26 #include <asm/feature-fixups.h>
46 sync
52 sync
57 sync
61 sync
67 sync
72 sync
79 * Do an IO access in real mode
85 sync
87 sync
93 sync
99 sync
105 sync
110 * Do an IO access in real mode
116 sync
118 sync
124 sync
130 sync
136 sync
147 sync
149 sync
154 sync
162 sync
164 sync
169 sync
202 sync
234 sync
260 addi r5,r5,kexec_flag-1b
291 * BOOK3E has no real MMU mode, so we have to setup the initial TLB
297 * Invalidate all non-IPROT TLB entries to avoid any TLB conflict.
301 sync
336 * switch to real mode
350 * switch to real mode (turn mmu off)
352 * 0 and 1 (big endian) of the effective address in real mode
378 * does the grungy work with stack switching and real mode switches
386 /* switch stacks to newstack -- &kexec_stack.stack */
387 stdu r1,THREAD_SIZE-STACK_FRAME_OVERHEAD(r3)
396 std r31,-8(r1)
397 std r30,-16(r1)
398 std r29,-24(r1)
399 std r28,-32(r1)
400 std r27,-40(r1)
401 std r26,-48(r1)
402 std r25,-56(r1)
404 stdu r1,-STACK_FRAME_OVERHEAD-64(r1)
424 /* We need to turn the MMU off unless we are in hash mode
451 stw r6,kexec_flag-1b(5)
482 * and 0 will store phys into struct boot-block and load r3 from there,
483 * copy kernel 0-0x100 and tell slaves to back down to 0x60 again
494 blr /* image->start(physid, image->start, 0); */