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 print_pgm_check_info(void); 17 unsigned long get_random_base(unsigned long safe_addr); 18 void __printf(1, 2) decompressor_printk(const char *fmt, ...); 19 20 /* Symbols defined by linker scripts */ 21 extern const char kernel_version[]; 22 extern unsigned long memory_limit; 23 extern unsigned long vmalloc_size; 24 extern int vmalloc_size_set; 25 extern int kaslr_enabled; 26 extern char __boot_data_start[], __boot_data_end[]; 27 extern char __boot_data_preserved_start[], __boot_data_preserved_end[]; 28 extern char _sdma[], _edma[]; 29 extern char _stext_dma[], _etext_dma[]; 30 extern struct exception_table_entry _start_dma_ex_table[]; 31 extern struct exception_table_entry _stop_dma_ex_table[]; 32 extern char _decompressor_syms_start[], _decompressor_syms_end[]; 33 extern char _stack_start[], _stack_end[]; 34 35 unsigned long read_ipl_report(unsigned long safe_offset); 36 37 #endif /* BOOT_BOOT_H */ 38