blob: 1fd8cab3a297fb1446fe5081048ca737a402e900 [file] [log] [blame]
Chris Zankel9a8fd552005-06-23 22:01:26 -07001/*
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
Bjorn Helgaas4f1bcaf2006-06-22 14:47:32 -070014#define VGA_MAP_MEM(x,s) (unsigned long)phys_to_virt(x)
Chris Zankel9a8fd552005-06-23 22:01:26 -070015
16#define vga_readb(x) (*(x))
17#define vga_writeb(x,y) (*(y) = (x))
18
19#endif