Subversion Repositories HelenOS-historic

Rev

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

Rev 664 Rev 665
Line 120... Line 120...
120
static inline void softint_write(__u64 v)
120
static inline void softint_write(__u64 v)
121
{
121
{
122
    __asm__ volatile ("wr %0, %1, %%softint\n" : : "r" (v), "i" (0));
122
    __asm__ volatile ("wr %0, %1, %%softint\n" : : "r" (v), "i" (0));
123
}
123
}
124
 
124
 
-
 
125
/** Write CLEAR_SOFTINT Register.
-
 
126
 *
-
 
127
 * Bits set in CLEAR_SOFTINT register will be cleared in SOFTINT register.
-
 
128
 *
-
 
129
 * @param New value of CLEAR_SOFTINT register.
-
 
130
 */
-
 
131
static inline void clear_softint_write(__u64 v)
-
 
132
{
-
 
133
    __asm__ volatile ("wr %0, %1, %%clear_softint\n" : : "r" (v), "i" (0));
-
 
134
}
-
 
135
 
125
/** Enable interrupts.
136
/** Enable interrupts.
126
 *
137
 *
127
 * Enable interrupts and return previous
138
 * Enable interrupts and return previous
128
 * value of IPL.
139
 * value of IPL.
129
 *
140
 *