00001
00012
00013
00014
00015
00016
00017
00018 #ifndef FBPRIV_H
00019 #define FBPRIV_H
00020
00021 #define TTY 0
00022
00023
00024
00025 int fbufd,oldxres,oldyres;
00026 struct fb_fix_screeninfo fb_fix_info;
00027 struct fb_var_screeninfo backup_var_info;
00028 struct fb_var_screeninfo work_var_info;
00029
00030 char *fbp, *b_store, *fb_visp;
00031 long int screensize;
00032 long int visiblesize;
00033 int uses_keyboard;
00034 int inc_x, inc_y;
00035
00036 int GETPOS(int a, int b);
00037 inline void setpixel(char *pos, FB_pixel col);
00038
00039 long int get_screensize();
00040 int fb_map();
00041 int fb_unmap();
00042 void fb_switch(int n_sig);
00043
00044 int fb_rotation;
00045 #endif