vga.h 408 B

12345678910111213141516171819202122
  1. #ifndef _ASM_M32R_VGA_H
  2. #define _ASM_M32R_VGA_H
  3. /* $Id$ */
  4. /*
  5. * Access to VGA videoram
  6. *
  7. * (c) 1998 Martin Mares <mj@ucw.cz>
  8. */
  9. /*
  10. * On the PC, we can just recalculate addresses and then
  11. * access the videoram directly without any black magic.
  12. */
  13. #define VGA_MAP_MEM(x) (unsigned long)phys_to_virt(x)
  14. #define vga_readb(x) (*(x))
  15. #define vga_writeb(x,y) (*(y) = (x))
  16. #endif /* _ASM_M32R_VGA_H */