Subversion Repositories Kolibri OS

Rev

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

Rev 1230 Rev 1233
Line 50... Line 50...
50
 
50
 
Line 51... Line 51...
51
void*  STDCALL GetDisplay()__asm__("GetDisplay");
51
void*  STDCALL GetDisplay()__asm__("GetDisplay");
Line -... Line 52...
-
 
52
 
52
 
53
 
Line 53... Line 54...
53
 
54
addr_t STDCALL AllocPage()__asm__("AllocPage");
Line 54... Line 55...
54
addr_t STDCALL AllocPages(count_t count)__asm__("AllocPages");
55
addr_t STDCALL AllocPages(count_t count)__asm__("AllocPages");
Line 344... Line 345...
344
     __asm__ __volatile__ (
345
     __asm__ __volatile__ (
345
     "call *__imp__ChangeTask");
346
     "call *__imp__ChangeTask");
346
}
347
}
347
 
348
 
Line -... Line 349...
-
 
349
static inline sysSetScreen(int width, int height, int pitch)
-
 
350
{
-
 
351
    __asm__ __volatile__
-
 
352
    (
-
 
353
        "call *__imp__SetScreen"
-
 
354
        :
-
 
355
        :"a" (width-1),"d"(height-1), "c"(pitch)
-
 
356
    );
-
 
357
    __asm__ __volatile__
-
 
358
    ("" :::"eax","ecx","edx");
-
 
359
}
-
 
360
 
348
int drm_order(unsigned long size);
361
int drm_order(unsigned long size);
Line -... Line 362...
-
 
362
 
-
 
363
static inline void __iomem *ioremap(uint32_t offset, size_t size)
-
 
364
{
-
 
365
    return (void __iomem*) MapIoMem(offset, size, 3);
-
 
366
}
-
 
367
 
-
 
368
static inline void iounmap(void *addr)
-
 
369
{
-
 
370
    FreeKernelSpace(addr);
-
 
371
}
349
 
372