summaryrefslogtreecommitdiffstats
path: root/src/ssx/pgp/registers/sramctl_firmware_registers.h
blob: c8a7c26e5ae1933e74b17fe2ba6fa963e9c711f9 (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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
#ifndef __SRAMCTL_FIRMWARE_REGISTERS_H__
#define __SRAMCTL_FIRMWARE_REGISTERS_H__

// $Id: sramctl_firmware_registers.h,v 1.1.1.1 2013/12/11 21:03:24 bcbrock Exp $
// $Source: /afs/awd/projects/eclipz/KnowledgeBase/.cvsroot/eclipz/chips/p8/working/procedures/ssx/pgp/registers/sramctl_firmware_registers.h,v $
//-----------------------------------------------------------------------------
// *! (C) Copyright International Business Machines Corp. 2013
// *! All Rights Reserved -- Property of IBM
// *! *** IBM Confidential ***
//-----------------------------------------------------------------------------

/// \file sramctl_firmware_registers.h
/// \brief C register structs for the SRAMCTL unit

// *** WARNING *** - This file is generated automatically, do not edit.

#ifndef SIXTYFOUR_BIT_CONSTANT
#ifdef __ASSEMBLER__
#define SIXTYFOUR_BIT_CONSTANT(x) x
#else
#define SIXTYFOUR_BIT_CONSTANT(x) x##ull
#endif
#endif

#ifndef __ASSEMBLER__

#include <stdint.h>




typedef union sramctl_srbar {

    uint32_t value;
    struct {
#ifdef _BIG_ENDIAN
    uint32_t sram_region_qualifier : 2;
    uint32_t reserved : 3;
    uint32_t sram_bar_region : 8;
    uint32_t _reserved0 : 19;
#else
    uint32_t _reserved0 : 19;
    uint32_t sram_bar_region : 8;
    uint32_t reserved : 3;
    uint32_t sram_region_qualifier : 2;
#endif // _BIG_ENDIAN
    } fields;
} sramctl_srbar_t;



typedef union sramctl_srmr {

    uint32_t value;
    struct {
#ifdef _BIG_ENDIAN
    uint32_t sram_enable_remap : 1;
    uint32_t sram_arb_en_send_all_writes : 1;
    uint32_t sram_disable_lfsr : 1;
    uint32_t sram_lfsr_fairness_mask : 5;
    uint32_t sram_error_inject_enable : 1;
    uint32_t sram_ctl_trace_en : 1;
    uint32_t sram_ctl_trace_sel : 1;
    uint32_t reserved : 5;
    uint32_t _reserved0 : 16;
#else
    uint32_t _reserved0 : 16;
    uint32_t reserved : 5;
    uint32_t sram_ctl_trace_sel : 1;
    uint32_t sram_ctl_trace_en : 1;
    uint32_t sram_error_inject_enable : 1;
    uint32_t sram_lfsr_fairness_mask : 5;
    uint32_t sram_disable_lfsr : 1;
    uint32_t sram_arb_en_send_all_writes : 1;
    uint32_t sram_enable_remap : 1;
#endif // _BIG_ENDIAN
    } fields;
} sramctl_srmr_t;



typedef union sramctl_srmap {

    uint32_t value;
    struct {
#ifdef _BIG_ENDIAN
    uint32_t reserved : 1;
    uint32_t sram_remap_source : 12;
    uint32_t _reserved0 : 1;
    uint32_t reserved1 : 3;
    uint32_t sram_remap_dest : 13;
    uint32_t reserved2 : 2;
#else
    uint32_t reserved2 : 2;
    uint32_t sram_remap_dest : 13;
    uint32_t reserved1 : 3;
    uint32_t _reserved0 : 1;
    uint32_t sram_remap_source : 12;
    uint32_t reserved : 1;
#endif // _BIG_ENDIAN
    } fields;
} sramctl_srmap_t;



typedef union sramctl_srear {

    uint32_t value;
    struct {
#ifdef _BIG_ENDIAN
    uint32_t sram_error_address : 16;
    uint32_t _reserved0 : 16;
#else
    uint32_t _reserved0 : 16;
    uint32_t sram_error_address : 16;
#endif // _BIG_ENDIAN
    } fields;
} sramctl_srear_t;



typedef union sramctl_srbv0 {

    uint32_t value;
    struct {
#ifdef _BIG_ENDIAN
    uint32_t boot_vector_word0 : 32;
#else
    uint32_t boot_vector_word0 : 32;
#endif // _BIG_ENDIAN
    } fields;
} sramctl_srbv0_t;



typedef union sramctl_srbv1 {

    uint32_t value;
    struct {
#ifdef _BIG_ENDIAN
    uint32_t boot_vector_word1 : 32;
#else
    uint32_t boot_vector_word1 : 32;
#endif // _BIG_ENDIAN
    } fields;
} sramctl_srbv1_t;



typedef union sramctl_srbv2 {

    uint32_t value;
    struct {
#ifdef _BIG_ENDIAN
    uint32_t boot_vector_word2 : 32;
#else
    uint32_t boot_vector_word2 : 32;
#endif // _BIG_ENDIAN
    } fields;
} sramctl_srbv2_t;



typedef union sramctl_srbv3 {

    uint32_t value;
    struct {
#ifdef _BIG_ENDIAN
    uint32_t boot_vector_word3 : 32;
#else
    uint32_t boot_vector_word3 : 32;
#endif // _BIG_ENDIAN
    } fields;
} sramctl_srbv3_t;



typedef union sramctl_srchsw {

    uint32_t value;
    struct {
#ifdef _BIG_ENDIAN
    uint32_t chksw_wrfsm_dly_dis : 1;
    uint32_t chksw_allow1_rd : 1;
    uint32_t chksw_allow1_wr : 1;
    uint32_t chksw_allow1_rdwr : 1;
    uint32_t chksw_oci_parchk_dis : 1;
    uint32_t chksw_tank_rddata_parchk_dis : 1;
    uint32_t chksw_tank_sr_rderr_dis : 1;
    uint32_t chksw_val_be_addr_chk_dis : 1;
    uint32_t chksw_so_spare : 2;
    uint32_t _reserved0 : 22;
#else
    uint32_t _reserved0 : 22;
    uint32_t chksw_so_spare : 2;
    uint32_t chksw_val_be_addr_chk_dis : 1;
    uint32_t chksw_tank_sr_rderr_dis : 1;
    uint32_t chksw_tank_rddata_parchk_dis : 1;
    uint32_t chksw_oci_parchk_dis : 1;
    uint32_t chksw_allow1_rdwr : 1;
    uint32_t chksw_allow1_wr : 1;
    uint32_t chksw_allow1_rd : 1;
    uint32_t chksw_wrfsm_dly_dis : 1;
#endif // _BIG_ENDIAN
    } fields;
} sramctl_srchsw_t;


#endif // __ASSEMBLER__
#endif // __SRAMCTL_FIRMWARE_REGISTERS_H__

OpenPOWER on IntegriCloud