xref: /openbmc/linux/arch/s390/boot/boot.h (revision 9a78c70a)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef BOOT_BOOT_H
3 #define BOOT_BOOT_H
4 
5 #include <linux/types.h>
6 
7 #include <linux/compiler.h>
8 
9 void startup_kernel(void);
10 unsigned long detect_memory(void);
11 bool is_ipl_block_dump(void);
12 void store_ipl_parmblock(void);
13 void setup_boot_command_line(void);
14 void parse_boot_command_line(void);
15 void verify_facilities(void);
16 void print_missing_facilities(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 extern const char kernel_version[];
22 extern unsigned long memory_limit;
23 extern int vmalloc_size_set;
24 extern int kaslr_enabled;
25 
26 unsigned long read_ipl_report(unsigned long safe_offset);
27 
28 #endif /* BOOT_BOOT_H */
29