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>
33 stdu r1,THREAD_SIZE-STACK_FRAME_OVERHEAD(r3)
44 stdu r1,THREAD_SIZE-STACK_FRAME_OVERHEAD(r4)
68 sync
74 sync
79 sync
83 sync
89 sync
94 sync
101 * Do an IO access in real mode
107 sync
109 sync
115 sync
121 sync
127 sync
132 * Do an IO access in real mode
138 sync
140 sync
146 sync
152 sync
158 sync
169 sync
171 sync
176 sync
184 sync
186 sync
191 sync
224 sync
256 sync
282 addi r5,r5,kexec_flag-1b
313 * BOOK3E has no real MMU mode, so we have to setup the initial TLB
319 * Invalidate all non-IPROT TLB entries to avoid any TLB conflict.
323 sync
358 * switch to real mode
372 * switch to real mode (turn mmu off)
374 * 0 and 1 (big endian) of the effective address in real mode
400 * does the grungy work with stack switching and real mode switches
408 /* switch stacks to newstack -- &kexec_stack.stack */
409 stdu r1,THREAD_SIZE-STACK_FRAME_OVERHEAD(r3)
418 std r31,-8(r1)
419 std r30,-16(r1)
420 std r29,-24(r1)
421 std r28,-32(r1)
422 std r27,-40(r1)
423 std r26,-48(r1)
424 std r25,-56(r1)
426 stdu r1,-STACK_FRAME_OVERHEAD-64(r1)
446 /* We need to turn the MMU off unless we are in hash mode
473 stw r6,kexec_flag-1b(5)
504 * and 0 will store phys into struct boot-block and load r3 from there,
505 * copy kernel 0-0x100 and tell slaves to back down to 0x60 again
516 blr /* image->start(physid, image->start, 0); */