master
h 34 lines 914 Bytes
Raw
1 /*
2 * S/390 DIAGNOSE 308 definitions and structures
3 *
4 * Copyright 2025 IBM Corp.
5 * Author(s): Zhuoying Cai <zycai@linux.ibm.com>
6 *
7 * SPDX-License-Identifier: GPL-2.0-or-later
8 */
9
10 #ifndef S390X_DIAG308_H
11 #define S390X_DIAG308_H
12
13 #define DIAG_308_RC_OK 0x0001
14 #define DIAG_308_RC_NO_CONF 0x0102
15 #define DIAG_308_RC_INVALID 0x0402
16 #define DIAG_308_RC_NO_PV_CONF 0x0902
17 #define DIAG_308_RC_INVAL_FOR_PV 0x0a02
18
19 #define DIAG308_RESET_MOD_CLR 0
20 #define DIAG308_RESET_LOAD_NORM 1
21 #define DIAG308_LOAD_CLEAR 3
22 #define DIAG308_LOAD_NORMAL_DUMP 4
23 #define DIAG308_SET 5
24 #define DIAG308_STORE 6
25 #define DIAG308_PV_SET 8
26 #define DIAG308_PV_STORE 9
27 #define DIAG308_PV_START 10
28
29 #define DIAG308_FLAGS_LP_VALID 0x80
30
31 #define DIAG308_IPIB_FLAGS_SIPL 0x40
32 #define DIAG308_IPIB_FLAGS_IPLIR 0x20
33
34 #endif