00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
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