hw/timer/hpet.c: Avoid signed integer overflow which results in bugs on OSX
[qemu/ar7.git] / hw / s390x / ipl.h
blob7f2b4033d486556c6e01198894e01eb5bc03e638
1 /*
2 * s390 IPL device
4 * Copyright 2015 IBM Corp.
5 * Author(s): Zhang Fan <bjfanzh@cn.ibm.com>
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.
12 #ifndef HW_S390_IPL_H
13 #define HW_S390_IPL_H
15 #include "cpu.h"
17 typedef struct IplParameterBlock {
18 uint8_t reserved1[110];
19 uint16_t devno;
20 uint8_t reserved2[88];
21 } IplParameterBlock;
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);
28 #endif