1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 #ifndef _ASM_S390_UAPI_IPL_H
3 #define _ASM_S390_UAPI_IPL_H
5 #include <linux/types.h>
7 /* IPL Parameter List header */
15 #define IPL_PL_FLAG_IPLPS 0x80
16 #define IPL_PL_FLAG_SIPL 0x40
17 #define IPL_PL_FLAG_IPLSR 0x20
19 /* IPL Parameter Block header */
25 /* IPL Parameter Block types */
32 /* IPL Parameter Block 0 with common fields */
33 struct ipl_pb0_common
{
42 #define IPL_PB0_FLAG_LOADPARM 0x80
44 /* IPL Parameter Block 0 for FCP */
67 #define IPL_PB0_FCP_OPT_IPL 0x10
68 #define IPL_PB0_FCP_OPT_DUMP 0x20
70 /* IPL Parameter Block 0 for CCW */
89 #define IPL_PB0_CCW_VM_FLAG_NSS 0x80
90 #define IPL_PB0_CCW_VM_FLAG_VP 0x40
92 /* IPL Parameter Block 1 for additional SCP data */
93 struct ipl_pb1_scp_data
{
99 /* IPL Report List header */
108 /* IPL Report Block header */
115 /* IPL Report Block types */
117 IPL_RBT_CERTIFICATES
= 1,
118 IPL_RBT_COMPONENTS
= 2,
121 /* IPL Report Block for the certificate list */
122 struct ipl_rb_certificate_entry
{
127 struct ipl_rb_certificates
{
131 struct ipl_rb_certificate_entry entries
[];
134 /* IPL Report Block for the component list */
135 struct ipl_rb_component_entry
{
140 __u16 certificate_index
;
144 #define IPL_RB_COMPONENT_FLAG_SIGNED 0x80
145 #define IPL_RB_COMPONENT_FLAG_VERIFIED 0x40
147 struct ipl_rb_components
{
151 struct ipl_rb_component_entry entries
[];