Subversion Repositories HelenOS

Rev

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

Rev 4021 Rev 4095
Line 67... Line 67...
67
    asm volatile ("hlt\n");
67
    asm volatile ("hlt\n");
68
}
68
}
69
 
69
 
70
static inline void cpu_halt(void)
70
static inline void cpu_halt(void)
71
{
71
{
72
    asm volatile ("hlt\n");
72
    asm volatile (
-
 
73
        "0:\n"
-
 
74
        "   hlt\n"
-
 
75
        "   jmp 0b\n"
-
 
76
    );
73
}
77
}
74
 
78
 
75
 
79
 
76
/** Byte from port
80
/** Byte from port
77
 *
81
 *