Rev 6588 | Rev 9057 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6588 | Rev 7143 | ||
---|---|---|---|
Line 486... | Line 486... | ||
486 | ("" :::"eax","ecx","edx"); |
486 | ("" :::"eax","ecx","edx"); |
487 | } |
487 | } |
Line 488... | Line 488... | ||
488 | 488 | ||
Line 489... | Line -... | ||
489 | void FASTCALL sysSetFramebuffer(void *fb)__asm__("SetFramebuffer"); |
- | |
490 | - | ||
491 | static inline void __iomem *ioremap(u32 offset, size_t size) |
- | |
492 | { |
- | |
493 | return (void __iomem*) MapIoMem(offset, size, PG_SW|PG_NOCACHE|0x100); |
- | |
494 | } |
- | |
495 | - | ||
496 | static inline void __iomem *ioremap_nocache(u32 offset, size_t size) |
- | |
497 | { |
- | |
498 | return (void __iomem*) MapIoMem(offset, size, PG_SW|PG_NOCACHE|0x100); |
- | |
499 | } |
- | |
500 | - | ||
501 | static inline void __iomem *ioremap_wc(u32 offset, size_t size) |
- | |
502 | { |
- | |
503 | return (void __iomem*) MapIoMem(offset, size, PG_SW|PG_WRITEC|0x100); |
- | |
504 | } |
- | |
505 | - | ||
506 | - | ||
507 | static inline void iounmap(void *addr) |
- | |
508 | { |
- | |
Line 509... | Line 489... | ||
509 | FreeKernelSpace(addr); |
489 | void FASTCALL sysSetFramebuffer(void *fb)__asm__("SetFramebuffer"); |
510 | } |
490 | |
511 | 491 | ||
512 | static inline void __SysMsgBoardStr(char *text) |
492 | static inline void __SysMsgBoardStr(char *text) |