Subversion Repositories HelenOS

Rev

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

Rev 1787 Rev 1849
Line 137... Line 137...
137
static inline void clear_softint_write(uint64_t v)
137
static inline void clear_softint_write(uint64_t v)
138
{
138
{
139
    __asm__ volatile ("wr %0, %1, %%clear_softint\n" : : "r" (v), "i" (0));
139
    __asm__ volatile ("wr %0, %1, %%clear_softint\n" : : "r" (v), "i" (0));
140
}
140
}
141
 
141
 
-
 
142
/** Write SET_SOFTINT Register.
-
 
143
 *
-
 
144
 * Bits set in SET_SOFTINT register will be set in SOFTINT register.
-
 
145
 *
-
 
146
 * @param v New value of SET_SOFTINT register.
-
 
147
 */
-
 
148
static inline void set_softint_write(uint64_t v)
-
 
149
{
-
 
150
    __asm__ volatile ("wr %0, %1, %%set_softint\n" : : "r" (v), "i" (0));
-
 
151
}
-
 
152
 
142
/** Enable interrupts.
153
/** Enable interrupts.
143
 *
154
 *
144
 * Enable interrupts and return previous
155
 * Enable interrupts and return previous
145
 * value of IPL.
156
 * value of IPL.
146
 *
157
 *