diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2022-04-27 04:14:34 +0200 |
---|---|---|
committer | Heiko Carstens <hca@linux.ibm.com> | 2022-05-06 20:45:15 +0200 |
commit | 834979c27f5281f37ae9ce5191134f26ae7b9fd0 (patch) | |
tree | 44deaa217d131bfd74ec89378793fda7a474916d /arch/s390/boot/boot.h | |
parent | 67a9c428ef35780d09e5a3c1247919789a8212b4 (diff) | |
download | linux-834979c27f5281f37ae9ce5191134f26ae7b9fd0.tar.gz linux-834979c27f5281f37ae9ce5191134f26ae7b9fd0.tar.bz2 linux-834979c27f5281f37ae9ce5191134f26ae7b9fd0.zip |
s390/boot: convert initial lowcore to C
Convert initial lowcore to C and use proper defines and structures to
initialize it. This should make the z/VM ipl procedure a bit less magic.
Acked-by: Peter Oberparleiter <oberpar@linux.ibm.com>
Reviewed-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'arch/s390/boot/boot.h')
-rw-r--r-- | arch/s390/boot/boot.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/s390/boot/boot.h b/arch/s390/boot/boot.h index 641ce0fc5c3e..70418389414d 100644 --- a/arch/s390/boot/boot.h +++ b/arch/s390/boot/boot.h @@ -2,9 +2,12 @@ #ifndef BOOT_BOOT_H #define BOOT_BOOT_H -#include <asm/extable.h> #include <linux/types.h> +#define IPL_START 0x200 + +#ifndef __ASSEMBLY__ + void startup_kernel(void); unsigned long detect_memory(void); bool is_ipl_block_dump(void); @@ -31,4 +34,5 @@ extern char _stack_start[], _stack_end[]; unsigned long read_ipl_report(unsigned long safe_offset); +#endif /* __ASSEMBLY__ */ #endif /* BOOT_BOOT_H */ |