]> git.proxmox.com Git - mirror_qemu.git/blame - hw/s390x/ipl.h
s390x/ipl: support diagnose 308 subcodes 5 and 6
[mirror_qemu.git] / hw / s390x / ipl.h
CommitLineData
df75a4e2
FZ
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
15typedef struct IplParameterBlock {
16 uint8_t reserved1[110];
17 uint16_t devno;
18 uint8_t reserved2[88];
19} IplParameterBlock;
20
21int s390_ipl_update_diag308(IplParameterBlock *iplb);
22IplParameterBlock *s390_ipl_get_iplb(void);
23
24#endif