2 * include/asm-s390/sclp.h
4 * Copyright IBM Corp. 2007
5 * Author(s): Heiko Carstens <heiko.carstens@de.ibm.com>
8 #ifndef _ASM_S390_SCLP_H
9 #define _ASM_S390_SCLP_H
11 #include <linux/types.h>
18 } __attribute__((packed
));
20 #define LOADPARM_LEN 8
22 struct sclp_readinfo_sccb
{
23 struct sccb_header header
; /* 0-7 */
26 u8 _reserved0
[24 - 11]; /* 11-23 */
27 u8 loadparm
[LOADPARM_LEN
]; /* 24-31 */
28 u8 _reserved1
[91 - 32]; /* 32-90 */
30 u8 _reserved2
[100 - 92]; /* 92-99 */
31 u32 rnsize2
; /* 100-103 */
32 u64 rnmax2
; /* 104-111 */
33 u8 _reserved3
[4096 - 112]; /* 112-4095 */
34 } __attribute__((packed
, aligned(4096)));
36 extern struct sclp_readinfo_sccb s390_readinfo_sccb
;
37 extern void sclp_readinfo_early(void);
39 #endif /* _ASM_S390_SCLP_H */