Subversion Repositories Kolibri OS

Rev

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

Rev 1872 Rev 1964
Line 224... Line 224...
224
        :::"eax","ebx","ecx","edx" );
224
        :::"eax","ebx","ecx","edx" );
225
    }
225
    }
226
}
226
}
227
 
227
 
Line -... Line 228...
-
 
228
static inline void msleep(unsigned int msecs)
-
 
229
{
-
 
230
    msecs /= 10;
-
 
231
    if(!msecs) msecs = 1;
-
 
232
 
-
 
233
     __asm__ __volatile__ (
-
 
234
     "call *__imp__Delay"
-
 
235
     ::"b" (msecs));
-
 
236
     __asm__ __volatile__ (
-
 
237
     "":::"ebx");
-
 
238
 
-
 
239
};
-
 
240
 
228
static inline void mdelay(u32_t time)
241
static inline void mdelay(u32_t time)
229
{
242
{
230
    time /= 10;
243
    time /= 10;
231
    if(!time) time = 1;
244
    if(!time) time = 1;
Line 237... Line 250...
237
     "":::"ebx");
250
     "":::"ebx");
238
 
251
 
Line 239... Line 252...
239
};
252
};
Line 240... Line -...
240
 
-
 
241
 
253
 
242
static inline u32_t __PciApi(int cmd)
254
static inline u32_t __PciApi(int cmd)
243
{
255
{
Line 244... Line 256...
244
     u32_t retval;
256
     u32_t retval;