diff options
author | Pascal Rigaux <pixel@mandriva.com> | 1999-11-15 13:02:13 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 1999-11-15 13:02:13 +0000 |
commit | 510378574d4d0a97bae46ab21fdf76395b2af1a8 (patch) | |
tree | c4f5ef419e9f539bbfaace4990bdf332a097f1a2 /tools/ddcprobe/vesamode.h | |
parent | 45c48c55488e62177a3d6a2eb6928a716daf1213 (diff) | |
download | drakx-510378574d4d0a97bae46ab21fdf76395b2af1a8.tar drakx-510378574d4d0a97bae46ab21fdf76395b2af1a8.tar.gz drakx-510378574d4d0a97bae46ab21fdf76395b2af1a8.tar.bz2 drakx-510378574d4d0a97bae46ab21fdf76395b2af1a8.tar.xz drakx-510378574d4d0a97bae46ab21fdf76395b2af1a8.zip |
no_comment
Diffstat (limited to 'tools/ddcprobe/vesamode.h')
-rw-r--r-- | tools/ddcprobe/vesamode.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/tools/ddcprobe/vesamode.h b/tools/ddcprobe/vesamode.h new file mode 100644 index 000000000..b7eef9283 --- /dev/null +++ b/tools/ddcprobe/vesamode.h @@ -0,0 +1,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 */ |