xref: /openbmc/qemu/hw/s390x/ipl.h (revision 56411125)
1 /*
2  * s390 IPL device
3  *
4  * Copyright 2015 IBM Corp.
5  * Author(s): Zhang Fan <bjfanzh@cn.ibm.com>
6  *
7  * This work is licensed under the terms of the GNU GPL, version 2 or (at
8  * your option) any later version. See the COPYING file in the top-level
9  * directory.
10  */
11 
12 #ifndef HW_S390_IPL_H
13 #define HW_S390_IPL_H
14 
15 #include "cpu.h"
16 
17 typedef struct IplParameterBlock {
18       uint8_t  reserved1[110];
19       uint16_t devno;
20       uint8_t  reserved2[88];
21 } IplParameterBlock;
22 
23 void s390_ipl_update_diag308(IplParameterBlock *iplb);
24 void s390_ipl_prepare_cpu(S390CPU *cpu);
25 IplParameterBlock *s390_ipl_get_iplb(void);
26 void s390_reipl_request(void);
27 
28 #endif
29