Subversion Repositories HelenOS

Rev

Rev 2927 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2927 Rev 3674
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 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 upa_config {
-
 
127
    uint64_t value;
-
 
128
    struct {
-
 
129
        uint64_t : 34;
-
 
130
        unsigned pcon : 8;  /**< Processor configuration. */
-
 
131
        unsigned mid : 5;   /**< Module (processor) ID register. */
-
 
132
        unsigned pcap : 17; /**< Processor capabilities. */
-
 
133
    } __attribute__ ((packed));
-
 
134
};
-
 
135
typedef union upa_config upa_config_t;
-
 
136
 
-
 
137
#endif
120
#endif
138
 
121
 
139
/** @}
122
/** @}
140
 */
123
 */