xref: /linux/arch/s390/boot/boot.h (revision f3956ebb3bf06ab2266ad5ee2214aed46405810c)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef BOOT_BOOT_H
3 #define BOOT_BOOT_H
4 
5 #include <asm/extable.h>
6 #include <linux/types.h>
7 
8 void startup_kernel(void);
9 unsigned long detect_memory(void);
10 bool is_ipl_block_dump(void);
11 void store_ipl_parmblock(void);
12 void setup_boot_command_line(void);
13 void parse_boot_command_line(void);
14 void verify_facilities(void);
15 void print_missing_facilities(void);
16 void sclp_early_setup_buffer(void);
17 void print_pgm_check_info(void);
18 unsigned long get_random_base(unsigned long safe_addr);
19 void __printf(1, 2) decompressor_printk(const char *fmt, ...);
20 
21 /* Symbols defined by linker scripts */
22 extern const char kernel_version[];
23 extern unsigned long memory_limit;
24 extern unsigned long vmalloc_size;
25 extern int vmalloc_size_set;
26 extern int kaslr_enabled;
27 extern char __boot_data_start[], __boot_data_end[];
28 extern char __boot_data_preserved_start[], __boot_data_preserved_end[];
29 extern char _decompressor_syms_start[], _decompressor_syms_end[];
30 extern char _stack_start[], _stack_end[];
31 
32 unsigned long read_ipl_report(unsigned long safe_offset);
33 
34 #endif /* BOOT_BOOT_H */
35