boot.h (1149B)
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 IPL_START 0x200 8 9#ifndef __ASSEMBLY__ 10 11void startup_kernel(void); 12unsigned long detect_memory(void); 13bool is_ipl_block_dump(void); 14void store_ipl_parmblock(void); 15void setup_boot_command_line(void); 16void parse_boot_command_line(void); 17void verify_facilities(void); 18void print_missing_facilities(void); 19void sclp_early_setup_buffer(void); 20void print_pgm_check_info(void); 21unsigned long get_random_base(unsigned long safe_addr); 22void __printf(1, 2) decompressor_printk(const char *fmt, ...); 23 24/* Symbols defined by linker scripts */ 25extern const char kernel_version[]; 26extern unsigned long memory_limit; 27extern unsigned long vmalloc_size; 28extern int vmalloc_size_set; 29extern int kaslr_enabled; 30extern char __boot_data_start[], __boot_data_end[]; 31extern char __boot_data_preserved_start[], __boot_data_preserved_end[]; 32extern char _decompressor_syms_start[], _decompressor_syms_end[]; 33extern char _stack_start[], _stack_end[]; 34 35unsigned long read_ipl_report(unsigned long safe_offset); 36 37#endif /* __ASSEMBLY__ */ 38#endif /* BOOT_BOOT_H */