Subversion Repositories HelenOS-historic

Rev

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

Rev 672 Rev 750
Line 149... Line 149...
149
};
149
};
150
typedef union esr esr_t;
150
typedef union esr esr_t;
151
 
151
 
152
/* Task Priority Register */
152
/* Task Priority Register */
153
#define TPR     (0x080/sizeof(__u32))
153
#define TPR     (0x080/sizeof(__u32))
-
 
154
union tpr {
-
 
155
    __u32 value;
-
 
156
    struct {
-
 
157
        unsigned pri_sc : 4;        /**< Task Priority Sub-Class. */
-
 
158
        unsigned pri : 4;       /**< Task Priority. */
154
#define TPRClear    0xffffff00
159
    } __attribute__ ((packed));
-
 
160
};
-
 
161
typedef union tpr tpr_t;
155
 
162
 
156
/** Spurious-Interrupt Vector Register. */
163
/** Spurious-Interrupt Vector Register. */
157
#define SVR     (0x0f0/sizeof(__u32))
164
#define SVR     (0x0f0/sizeof(__u32))
158
union svr {
165
union svr {
159
    __u32 value;
166
    __u32 value;
160
    struct {
167
    struct {
161
        __u8 vector;            /**< Spurious Vector */
168
        __u8 vector;            /**< Spurious Vector. */
162
        unsigned lapic_enabled : 1; /**< APIC Software Enable/Disable */
169
        unsigned lapic_enabled : 1; /**< APIC Software Enable/Disable. */
163
        unsigned focus_checking : 1;    /**< Focus Processor Checking */
170
        unsigned focus_checking : 1;    /**< Focus Processor Checking. */
164
        unsigned : 22;          /**< Reserved. */
171
        unsigned : 22;          /**< Reserved. */
165
    } __attribute__ ((packed));
172
    } __attribute__ ((packed));
166
};
173
};
167
typedef union svr svr_t;
174
typedef union svr svr_t;
168
 
175