vga.h 434 B

1234567891011121314151617181920
  1. /*
  2. * include/asm-xtensa/vga.h
  3. *
  4. * This file is subject to the terms and conditions of the GNU General Public
  5. * License. See the file "COPYING" in the main directory of this archive
  6. * for more details.
  7. *
  8. * Copyright (C) 2001 - 2005 Tensilica Inc.
  9. */
  10. #ifndef _XTENSA_VGA_H
  11. #define _XTENSA_VGA_H
  12. #define VGA_MAP_MEM(x,s) (unsigned long)phys_to_virt(x)
  13. #define vga_readb(x) (*(x))
  14. #define vga_writeb(x,y) (*(y) = (x))
  15. #endif