1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright IBM Corp. 1999, 2010
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>
17 #include <asm/ptrace.h>
20 SYM_CODE_START(startup_continue)
21 larl %r1,tod_clock_base
23 mvc 0(16,%r1),__LC_BOOT_CLOCK(%r2)
28 stg %r14,__LC_CURRENT(%r2)
29 larl %r15,init_thread_union+STACK_INIT_OFFSET
30 stg %r15,__LC_KERNEL_STACK(%r2)
31 brasl %r14,sclp_early_adjust_va # allow sclp_early_printk
32 brasl %r14,startup_init # s390 specific early init
33 brasl %r14,start_kernel # common init code
35 # We returned from start_kernel ?!? PANIK
38 lpswe dw_psw-.(%r13) # load disabled wait psw
39 SYM_CODE_END(startup_continue)
42 SYM_DATA_LOCAL(dw_psw, .quad 0x0002000180000000,0x0000000000000000)