blob: 6071755a34540e53a6cec2af9e0971e39d3ebfbd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
|
/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: chips/p9/common/pmlib/include/registers/mcs_firmware_registers.h $ */
/* */
/* IBM CONFIDENTIAL */
/* */
/* EKB Project */
/* */
/* COPYRIGHT 2017 */
/* [+] International Business Machines Corp. */
/* */
/* */
/* The source code for this program is not published or otherwise */
/* divested of its trade secrets, irrespective of what has been */
/* deposited with the U.S. Copyright Office. */
/* */
/* IBM_PROLOG_END_TAG */
#if !defined(__MCS_FIRWARE_REGISTERS_H__)
#define __MCS_FIRWARE_REGISTERS_H__
typedef union mcfgpr
{
uint64_t value;
struct
{
#ifdef _BIG_ENDIAN
uint32_t high_order;
uint32_t low_order;
#else
uint32_t low_order;
uint32_t high_order;
#endif // _BIG_ENDIAN
} words;
struct
{
#ifdef _BIG_ENDIAN
uint64_t mcfgprq_valid : 1;
uint64_t reserved0 : 2;
uint64_t disable_extended_bar : 1 ; // low = P9 mode
uint64_t mcfgprq_base_address : 31;
uint64_t _reserved0 : 29;
#else
uint64_t _reserved0 : 29;
uint64_t mcfgprq_base_address : 31;
uint64_t disable_extended_bar : 1 ; // low = p9 mode
uint64_t reserved0 : 2;
uint64_t mcfgprq_valid : 1;
#endif // _BIG_ENDIAN
} fields;
} mcfgpr_t;
typedef union mcsmode0
{
uint64_t value;
struct
{
#ifdef _BIG_ENDIAN
uint32_t high_order;
uint32_t low_order;
#else
uint32_t low_order;
uint32_t high_order;
#endif // _BIG_ENDIAN
} words;
struct
{
#ifdef _BIG_ENDIAN
uint64_t reserved0 : 64;
#else
uint64_t reserved0 : 64;
#endif
} fields;
} mcsmode0_t;
typedef union mcifir
{
uint64_t value;
struct
{
#ifdef _BIG_ENDIAN
uint32_t high_order;
uint32_t low_order;
#else
uint32_t low_order;
uint32_t high_order;
#endif // _BIG_ENDIAN
} words;
struct
{
#ifdef _BIG_ENDIAN
uint64_t reserved0 : 64;
#else
uint64_t reserved0 : 64;
#endif // _BIG_ENDIAN
} fields;
} mcifir_t;
#endif
|