2015-02-12 17:02:14 +00:00
|
|
|
/*
|
|
|
|
* s390 IPL device
|
|
|
|
*
|
|
|
|
* Copyright 2015 IBM Corp.
|
|
|
|
* Author(s): Zhang Fan <bjfanzh@cn.ibm.com>
|
|
|
|
*
|
|
|
|
* This work is licensed under the terms of the GNU GPL, version 2 or (at
|
|
|
|
* your option) any later version. See the COPYING file in the top-level
|
|
|
|
* directory.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef HW_S390_IPL_H
|
|
|
|
#define HW_S390_IPL_H
|
|
|
|
|
|
|
|
typedef struct IplParameterBlock {
|
|
|
|
uint8_t reserved1[110];
|
|
|
|
uint16_t devno;
|
|
|
|
uint8_t reserved2[88];
|
|
|
|
} IplParameterBlock;
|
|
|
|
|
2015-06-25 07:55:55 +00:00
|
|
|
void s390_ipl_update_diag308(IplParameterBlock *iplb);
|
2015-02-12 17:02:14 +00:00
|
|
|
IplParameterBlock *s390_ipl_get_iplb(void);
|
2015-02-12 17:02:15 +00:00
|
|
|
void s390_reipl_request(void);
|
2015-02-12 17:02:14 +00:00
|
|
|
|
|
|
|
#endif
|