00001 /* $Id: gmode.c 27999 2007-03-12 16:53:09Z adam $ */ 00002 /** 00003 * \file con/server/src/gmode.c 00004 * \brief graphics mode initialization 00005 * 00006 * \date 2005 00007 * \author Frank Mehnert <fm3@os.inf.tu-dresden.de> */ 00008 00009 /* (c) 2005 'Technische Universitaet Dresden' 00010 * This file is part of the con package, which is distributed under 00011 * the terms of the GNU General Public License 2. Please see the 00012 * COPYING file for details. */ 00013 00014 #include "gmode.h" 00015 00016 l4_uint16_t VESA_XRES, VESA_YRES, VESA_YRES_CLIENT, VESA_BPL; 00017 l4_uint8_t VESA_BITS, VESA_RES; 00018 l4_uint8_t VESA_RED_OFFS, VESA_GREEN_OFFS, VESA_BLUE_OFFS; 00019 l4_uint8_t VESA_RED_SIZE, VESA_GREEN_SIZE, VESA_BLUE_SIZE; 00020 l4_uint8_t FONT_XRES, FONT_YRES; 00021 l4_uint32_t FONT_CHRS; 00022 00023 l4_umword_t accel_caps = 0; 00024 00025 int panned; /**< Display already panned? */ 00026 l4_uint32_t pan_offs_x; /**< x offset for panning */ 00027 l4_uint32_t pan_offs_y; /**< y offset for panning */ 00028 00029 l4_uint8_t *gr_vmem; /**< Linear video framebuffer. */ 00030 l4_uint8_t *gr_vmem_maxmap; /**< don't map fb beyond this address. */ 00031 l4_size_t gr_vmem_size; /**< Size of video framebuffer. */ 00032 l4_uint8_t *vis_vmem; /**< Visible video framebuffer. */ 00033 l4_offs_t vis_offs; /**< vis_vmem - gr_vmem. */