blob: b7eef9283cfaffff010deca0ce0b48d5d3f4a1d4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#ifndef vesamode_h
#define vesamode_h
#include <sys/types.h>
#ident "$Id$"
typedef enum { hsync_neg = 0, hsync_pos } hsync_t;
typedef enum { vsync_neg = 0, vsync_pos } vsync_t;
struct vesa_mode_t {
u_int16_t number;
u_int16_t x, y;
u_int32_t colors;
const char *text;
const char *modeline;
};
struct vesa_timing_t {
u_int16_t x, y;
float refresh;
float dotclock;
u_int16_t timings[8];
hsync_t hsync;
vsync_t vsync;
float hfreq;
float vfreq;
};
extern struct vesa_mode_t known_vesa_modes[];
extern struct vesa_timing_t known_vesa_timings[];
#endif /* vesamode_h */
|