Subversion Repositories Kolibri OS

Rev

Rev 1408 | Rev 3391 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1408 Rev 1964
Line 1... Line 1...
1
/* stub */
1
/* stub */
Line -... Line 2...
-
 
2
 
2
 
3
/*
3
static inline void mdelay(unsigned long time)
4
static inline void mdelay(u32_t time)
4
{
5
{
5
    time /= 10;
6
    time /= 10;
Line 6... Line 7...
6
    if(!time) time = 1;
7
    if(!time) time = 1;
Line 11... Line 12...
11
     __asm__ __volatile__ (
12
     __asm__ __volatile__ (
12
     "":::"ebx");
13
     "":::"ebx");
Line 13... Line 14...
13
 
14
 
Line 14... Line 15...
14
};
15
};
15
 
16
 
16
static inline void udelay(unsigned long delay)
17
static inline void udelay(u32_t delay)
17
{
18
{
Line 18... Line 19...
18
    if(!delay) delay++;
19
    if(!delay) delay++;
Line 24... Line 25...
24
        "xorl %%eax, %%eax \n\t"
25
        "xorl %%eax, %%eax \n\t"
25
        "cpuid"
26
        "cpuid"
26
        :::"eax","ebx","ecx","edx" );
27
        :::"eax","ebx","ecx","edx" );
27
    }
28
    }
28
}
29
}
29
30
*/