2018-07-19 13:11:28 +02:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
#ifndef BOOT_BOOT_H
|
|
|
|
#define BOOT_BOOT_H
|
|
|
|
|
2020-10-19 11:01:33 +02:00
|
|
|
#include <linux/types.h>
|
|
|
|
|
2020-11-10 17:05:35 +01:00
|
|
|
#define BOOT_STACK_OFFSET 0x8000
|
|
|
|
|
|
|
|
#ifndef __ASSEMBLY__
|
|
|
|
|
2020-11-10 17:05:26 +01:00
|
|
|
#include <linux/compiler.h>
|
|
|
|
|
2018-07-19 13:11:28 +02:00
|
|
|
void startup_kernel(void);
|
2020-10-19 11:01:33 +02:00
|
|
|
unsigned long detect_memory(void);
|
|
|
|
bool is_ipl_block_dump(void);
|
2018-05-15 13:28:53 +02:00
|
|
|
void store_ipl_parmblock(void);
|
|
|
|
void setup_boot_command_line(void);
|
2019-02-27 16:52:42 +01:00
|
|
|
void parse_boot_command_line(void);
|
2019-07-17 19:38:42 +02:00
|
|
|
void verify_facilities(void);
|
2019-02-27 17:36:35 +01:00
|
|
|
void print_missing_facilities(void);
|
2019-08-08 20:09:08 +02:00
|
|
|
void print_pgm_check_info(void);
|
2019-02-03 21:37:20 +01:00
|
|
|
unsigned long get_random_base(unsigned long safe_addr);
|
2020-11-10 17:05:26 +01:00
|
|
|
void __printf(1, 2) decompressor_printk(const char *fmt, ...);
|
2019-02-03 21:37:20 +01:00
|
|
|
|
2019-07-15 15:30:33 +02:00
|
|
|
extern const char kernel_version[];
|
2020-10-19 11:01:33 +02:00
|
|
|
extern unsigned long memory_limit;
|
2020-10-06 22:12:39 +02:00
|
|
|
extern unsigned long vmalloc_size;
|
2020-10-19 11:01:33 +02:00
|
|
|
extern int vmalloc_size_set;
|
|
|
|
extern int kaslr_enabled;
|
2018-07-19 13:11:28 +02:00
|
|
|
|
2019-02-21 14:23:04 +01:00
|
|
|
unsigned long read_ipl_report(unsigned long safe_offset);
|
|
|
|
|
2020-11-10 17:05:35 +01:00
|
|
|
#endif /* __ASSEMBLY__ */
|
2018-07-19 13:11:28 +02:00
|
|
|
#endif /* BOOT_BOOT_H */
|