home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / usr / src / linux-headers-2.6.17-6 / include / asm-xtensa / vga.h < prev    next >
Encoding:
C/C++ Source or Header  |  2006-08-11  |  432 b   |  20 lines

  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.  
  11. #ifndef _XTENSA_VGA_H
  12. #define _XTENSA_VGA_H
  13.  
  14. #define VGA_MAP_MEM(x) (unsigned long)phys_to_virt(x)
  15.  
  16. #define vga_readb(x)    (*(x))
  17. #define vga_writeb(x,y)    (*(y) = (x))
  18.  
  19. #endif
  20.