|
Lines 103-109
Link Here
|
| 103 |
#define GPLANE16 G640x350x16 |
103 |
#define GPLANE16 G640x350x16 |
| 104 |
|
104 |
|
| 105 |
/* graphics mode information */ |
105 |
/* graphics mode information */ |
| 106 |
struct info { |
106 |
|
|
|
107 |
//fixing kernel 2.6 header compile problem |
| 108 |
//what the fuck is wrong with this shit |
| 109 |
// can't beliveve this |
| 110 |
struct vgainfo { |
| 107 |
int xdim; |
111 |
int xdim; |
| 108 |
int ydim; |
112 |
int ydim; |
| 109 |
int colors; |
113 |
int colors; |
|
Lines 127-136
Link Here
|
| 127 |
extern unsigned long __svgalib_mmio_base, __svgalib_mmio_size; |
131 |
extern unsigned long __svgalib_mmio_base, __svgalib_mmio_size; |
| 128 |
extern unsigned long __svgalib_linear_mem_base, __svgalib_linear_mem_size; |
132 |
extern unsigned long __svgalib_linear_mem_base, __svgalib_linear_mem_size; |
| 129 |
extern unsigned long __svgalib_mmio_base, __svgalib_mmio_size; |
133 |
extern unsigned long __svgalib_mmio_base, __svgalib_mmio_size; |
| 130 |
extern struct info CI; /* current video parameters */ |
134 |
extern struct vgainfo CI; /* current video parameters */ |
| 131 |
extern int COL; /* current color */ |
135 |
extern int COL; /* current color */ |
| 132 |
extern int CM; /* current video mode */ |
136 |
extern int CM; /* current video mode */ |
| 133 |
extern struct info infotable[]; |
137 |
extern struct vgainfo infotable[]; |
| 134 |
extern int SCREENON; /* screen visible if != 0 */ |
138 |
extern int SCREENON; /* screen visible if != 0 */ |
| 135 |
extern unsigned long __svgalib_graph_base; |
139 |
extern unsigned long __svgalib_graph_base; |
| 136 |
extern unsigned char *GM; /* graphics memory frame */ |
140 |
extern unsigned char *GM; /* graphics memory frame */ |