Subversion Repositories HelenOS-historic

Rev

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

Rev 1267 Rev 1268
Line 38... Line 38...
38
 * value of EE.
38
 * value of EE.
39
 *
39
 *
40
 * @return Old interrupt priority level.
40
 * @return Old interrupt priority level.
41
 */
41
 */
42
static inline ipl_t interrupts_enable(void) {
42
static inline ipl_t interrupts_enable(void) {
43
    ipl_t v = 0;
43
    ipl_t v;
44
    ipl_t tmp;
44
    ipl_t tmp;
45
   
45
   
46
    asm volatile (
46
    asm volatile (
47
        "mfmsr %0\n"
47
        "mfmsr %0\n"
48
        "mfmsr %1\n"
48
        "mfmsr %1\n"