1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 3 * Copyright IBM Corp. 1999, 2010 4 * 5 * Author(s): Hartmut Penner <hp@de.ibm.com> 6 * Martin Schwidefsky <schwidefsky 7 * Rob van der Heij <rvdhei@iae.nl 8 * 9 */ 10 11 #include <linux/init.h> 12 #include <linux/linkage.h> 13 #include <asm/lowcore.h> 14 #include <asm/asm-offsets.h> 15 #include <asm/thread_info.h> 16 #include <asm/page.h> 17 #include <asm/ptrace.h> 18 19 __HEAD 20 SYM_CODE_START(startup_continue) 21 larl %r1,tod_clock_base 22 GET_LC %r2 23 mvc 0(16,%r1),__LC_BOOT_CLOCK(%r2) 24 # 25 # Setup stack 26 # 27 larl %r14,init_task 28 stg %r14,__LC_CURRENT(%r2) 29 larl %r15,init_thread_union+STACK_I 30 stg %r15,__LC_KERNEL_STACK(%r2) 31 brasl %r14,sclp_early_adjust_va 32 brasl %r14,startup_init 33 brasl %r14,start_kernel 34 # 35 # We returned from start_kernel ?!? PANIK 36 # 37 basr %r13,0 38 lpswe dw_psw-.(%r13) # load 39 SYM_CODE_END(startup_continue) 40 41 .balign 16 42 SYM_DATA_LOCAL(dw_psw, .quad 0x00020001800000
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.