Subversion Repositories HelenOS

Rev

Rev 3591 | Rev 3743 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3591 Rev 3664
Line 115... Line 115...
115
        unsigned dl : 1;
115
        unsigned dl : 1;
116
    } __attribute__ ((packed));
116
    } __attribute__ ((packed));
117
};
117
};
118
typedef union fprs_reg fprs_reg_t;
118
typedef union fprs_reg fprs_reg_t;
119
 
119
 
120
/** UPA_CONFIG/FIREPLANE_CONFIG register.
-
 
121
 *
-
 
122
 * Note that format of this register differs significantly from
-
 
123
 * processor version to version. The format defined here
-
 
124
 * is the common subset for all supported processor versions.
-
 
125
 */
-
 
126
union icbus_config {
-
 
127
    uint64_t value;
-
 
128
    struct {
-
 
129
#if defined (US)
-
 
130
        uint64_t : 34;
-
 
131
        unsigned pcon : 8;  /**< Processor configuration. */
-
 
132
        unsigned mid : 5;   /**< Module (processor) ID register. */
-
 
133
        unsigned pcap : 17; /**< Processor capabilities. */
-
 
134
#elif defined (US3)
-
 
135
        uint64_t : 37;
-
 
136
        unsigned mid : 10;  /**< Agent ID in US-IV+ manual.*/
-
 
137
        uint64_t : 17;
-
 
138
#endif
-
 
139
    } __attribute__ ((packed));
-
 
140
};
-
 
141
typedef union icbus_config icbus_config_t;
-
 
142
 
-
 
143
#endif
120
#endif
144
 
121
 
145
/** @}
122
/** @}
146
 */
123
 */