xref: /openbmc/linux/arch/s390/boot/boot.h (revision dfe94d40)
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 #define BOOT_STACK_OFFSET 0x8000
8 
9 #ifndef __ASSEMBLY__
10 
11 #include <linux/compiler.h>
12 
13 void startup_kernel(void);
14 unsigned long detect_memory(void);
15 bool is_ipl_block_dump(void);
16 void store_ipl_parmblock(void);
17 void setup_boot_command_line(void);
18 void parse_boot_command_line(void);
19 void verify_facilities(void);
20 void print_missing_facilities(void);
21 void print_pgm_check_info(void);
22 unsigned long get_random_base(unsigned long safe_addr);
23 void __printf(1, 2) decompressor_printk(const char *fmt, ...);
24 
25 extern const char kernel_version[];
26 extern unsigned long memory_limit;
27 extern int vmalloc_size_set;
28 extern int kaslr_enabled;
29 
30 unsigned long read_ipl_report(unsigned long safe_offset);
31 
32 #endif /* __ASSEMBLY__ */
33 #endif /* BOOT_BOOT_H */
34