2006-01-08 17:04:54 +08:00
|
|
|
#ifndef _SCREEN_INFO_H
|
|
|
|
#define _SCREEN_INFO_H
|
|
|
|
|
2012-10-13 17:46:48 +08:00
|
|
|
#include <uapi/linux/screen_info.h>
|
2006-01-08 17:04:54 +08:00
|
|
|
|
2007-10-22 08:56:19 +08:00
|
|
|
extern struct screen_info screen_info;
|
|
|
|
|
|
|
|
#define ORIG_X (screen_info.orig_x)
|
|
|
|
#define ORIG_Y (screen_info.orig_y)
|
|
|
|
#define ORIG_VIDEO_MODE (screen_info.orig_video_mode)
|
|
|
|
#define ORIG_VIDEO_COLS (screen_info.orig_video_cols)
|
|
|
|
#define ORIG_VIDEO_EGA_BX (screen_info.orig_video_ega_bx)
|
|
|
|
#define ORIG_VIDEO_LINES (screen_info.orig_video_lines)
|
|
|
|
#define ORIG_VIDEO_ISVGA (screen_info.orig_video_isVGA)
|
|
|
|
#define ORIG_VIDEO_POINTS (screen_info.orig_video_points)
|
2006-01-08 17:04:54 +08:00
|
|
|
#endif /* _SCREEN_INFO_H */
|