Subversion Repositories Kolibri OS

Rev

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

Rev 6536 Rev 6897
Line 336... Line 336...
336
    :"=a"(val)
336
    :"=a"(val)
337
    :"a"(17));
337
    :"a"(17));
338
    return val>>8;
338
    return val>>8;
339
};
339
};
Line -... Line 340...
-
 
340
 
-
 
341
static inline uint32_t
-
 
342
heap_init(void)
-
 
343
{
-
 
344
    uint32_t heapsize;
-
 
345
 
-
 
346
    __asm__ __volatile__(
-
 
347
                         "int $0x40"
-
 
348
                         :"=a"(heapsize)
-
 
349
                         :"a"(68),"b"(11)
-
 
350
                         );
-
 
351
 
-
 
352
    return heapsize;
-
 
353
}
340
 
354
 
341
static inline uint32_t get_service(char *name)
355
static inline uint32_t get_service(char *name)
342
{
356
{
343
    uint32_t retval = 0;
357
    uint32_t retval = 0;
344
    __asm__ __volatile__(
358
    __asm__ __volatile__(