Rev 3479 | Rev 3591 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3479 | Rev 3582 | ||
---|---|---|---|
Line 124... | Line 124... | ||
124 | * is the common subset for all supported processor versions. |
124 | * is the common subset for all supported processor versions. |
125 | */ |
125 | */ |
126 | union icbus_config { |
126 | union icbus_config { |
127 | uint64_t value; |
127 | uint64_t value; |
128 | struct { |
128 | struct { |
- | 129 | #if defined (US) |
|
129 | uint64_t : 34; |
130 | uint64_t : 34; |
130 | unsigned pcon : 8; /**< Processor configuration. */ |
131 | unsigned pcon : 8; /**< Processor configuration. */ |
131 | unsigned mid : 5; /**< Module (processor) ID register. */ |
132 | unsigned mid : 5; /**< Module (processor) ID register. */ |
132 | unsigned pcap : 17; /**< Processor capabilities. */ |
133 | unsigned pcap : 17; /**< Processor capabilities. */ |
- | 134 | #elif defined (US3) |
|
- | 135 | uint64_t : 37; |
|
- | 136 | unsigned mid : 10; /**< Module (processor) ID register. */ |
|
- | 137 | uint64_t : 17; |
|
- | 138 | #endif |
|
133 | } __attribute__ ((packed)); |
139 | } __attribute__ ((packed)); |
134 | }; |
140 | }; |
135 | typedef union icbus_config icbus_config_t; |
141 | typedef union icbus_config icbus_config_t; |
136 | 142 | ||
137 | #endif |
143 | #endif |