mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
zipl/boot: make stage2.h assembler compatible
In preparation for the linker script generation make the stage2.h assembler compatible. Reviewed-by: Philipp Rudo <prudo@linux.ibm.com> Reviewed-by: Jan Höppner <hoeppner@linux.ibm.com> Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
f4f2220693
commit
e0ffb3c584
@@ -12,15 +12,20 @@
|
||||
#ifndef COMMON_H
|
||||
#define COMMON_H
|
||||
|
||||
#include "cio.h"
|
||||
#include "error.h"
|
||||
#include "libc.h"
|
||||
#include "boot/s390.h"
|
||||
#include "lib/zt_common.h"
|
||||
|
||||
#define DESCR_PER_BLOCK 16
|
||||
#define DESCR_PER_BLOCK _AC(16, U)
|
||||
|
||||
/* ADRESS */
|
||||
#define STAGE2_DESC 0x78
|
||||
#define STAGE2_DESC _AC(0x78, UL)
|
||||
|
||||
|
||||
#ifndef __ASSEMBLER__
|
||||
|
||||
#include "libc.h"
|
||||
#include "boot/s390.h"
|
||||
#include "cio.h"
|
||||
#include "error.h"
|
||||
|
||||
/* Layout of ECKD disk block pointer */
|
||||
struct eckd_blockptr {
|
||||
@@ -74,5 +79,6 @@ int extract_length(void *);
|
||||
int is_zero_block(void *);
|
||||
void kdump_stage2(unsigned long);
|
||||
|
||||
#endif /* __ASSEMBLER__ */
|
||||
|
||||
#endif /* COMMON_H */
|
||||
|
||||
Reference in New Issue
Block a user