Subversion Repositories Kolibri OS

Rev

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

Rev 5068 Rev 5081
Line 211... Line 211...
211
};
211
};
Line 212... Line 212...
212
 
212
 
213
static inline uint32_t get_service(char *name)
213
static inline uint32_t get_service(char *name)
214
{
214
{
-
 
215
    uint32_t retval = 0;
215
  uint32_t retval = 0;
216
    __asm__ __volatile__(
216
  asm volatile ("int $0x40"
217
    "int $0x40"
217
      :"=a"(retval)
218
    :"=a"(retval)
218
      :"a"(68),"b"(16),"c"(name)
219
    :"a"(68),"b"(16),"c"(name)
Line 219... Line 220...
219
      :"memory");
220
    :"memory");
Line 223... Line 224...
223
 
224
 
224
static inline int call_service(ioctl_t *io)
225
static inline int call_service(ioctl_t *io)
225
{
226
{
Line -... Line 227...
-
 
227
    int retval;
226
  int retval;
228
 
227
 
229
    __asm__ __volatile__(
228
  asm volatile("int $0x40"
230
    "int $0x40"
229
      :"=a"(retval)
231
    :"=a"(retval)
Line 230... Line 232...
230
      :"a"(68),"b"(17),"c"(io)
232
    :"a"(68),"b"(17),"c"(io)
Line 459... Line 461...
459
    bc.bitmap = bitmap;
461
    bc.bitmap = bitmap;
Line 460... Line 462...
460
 
462
 
461
    __asm__ __volatile__(
463
    __asm__ __volatile__(
462
    "int $0x40"
464
    "int $0x40"
463
    ::"a"(73),"b"(0),"c"(&bc.dstx));
-
 
464
 
465
    ::"a"(73),"b"(0),"c"(&bc.dstx));
Line 465... Line 466...
465
};
466
};