Subversion Repositories HelenOS-historic

Rev

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

Rev 1 Rev 15
Line 39... Line 39...
39
void delay(__u32 microseconds)
39
void delay(__u32 microseconds)
40
{
40
{
41
    pri_t pri;
41
    pri_t pri;
42
 
42
 
43
    pri = cpu_priority_high();
43
    pri = cpu_priority_high();
44
    asm_delay_loop(microseconds * the->cpu->delay_loop_const);
44
    asm_delay_loop(microseconds * CPU->delay_loop_const);
45
    cpu_priority_restore(pri);
45
    cpu_priority_restore(pri);
46
}
46
}