vesa.h

00001 /***************************************************************************
00002     begin                : Thu Feb 17 2005
00003     copyright            : (C) 2005 - 2006 by Alper Akcan
00004     email                : distchx@yahoo.com
00005  ***************************************************************************/
00006 
00007 /***************************************************************************
00008  *                                                                         *
00009  *   This program is free software; you can redistribute it and/or modify  *
00010  *   it under the terms of the GNU Lesser General Public License as        *
00011  *   published by the Free Software Foundation; either version 2.1 of the  *
00012  *   License, or (at your option) any later version.                       *
00013  *                                                                         *
00014  ***************************************************************************/
00015 
00016 #if defined(VIDEO_VESA)
00017 
00018 typedef struct vbe_s {
00019         struct vbe_info_block *info;
00020         struct vbe_mode_info_block *mode;
00021         void *addr;
00022         void *state;
00023         int mode_n;
00024 } vbe_t;
00025 
00026 typedef struct s_video_vesa_data_s {
00027         int console_fd;
00028         vbe_t vbe;
00029 } s_video_vesa_data_t;
00030 
00031 int s_video_vesa_kbd_init (s_server_conf_t *cfg);
00032 
00033 void s_video_vesa_server_goto_back (void);
00034 void s_video_vesa_server_comefrom_back (void);
00035 void s_video_vesa_server_restore (void);
00036 void s_video_vesa_server_uninit (void);
00037 void s_video_vesa_server_mtrr_init (void);
00038 int s_video_vesa_server_init (s_server_conf_t *cfg);
00039 void s_video_vesa_surface_uninit (void);
00040 void s_video_vesa_server_surface_setrgbpalette (void);
00041 void s_video_vesa_server_surface_init (int mode);
00042 
00043 #endif /* VIDEO_VESA */

Generated on Wed Dec 27 17:53:06 2006 for xynth-0.8.40 by  doxygen 1.4.7