Add qemu 2.4.0
[kvmfornfv.git] / qemu / hw / s390x / ipl.h
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 typedef struct IplParameterBlock {
16       uint8_t  reserved1[110];
17       uint16_t devno;
18       uint8_t  reserved2[88];
19 } IplParameterBlock;
20
21 int s390_ipl_update_diag308(IplParameterBlock *iplb);
22 IplParameterBlock *s390_ipl_get_iplb(void);
23 void s390_reipl_request(void);
24
25 #endif