blob: 005bf3e38db555a879f9bd0c0f9b4a8ba0f4616d [file] [log] [blame]
Brian Gerst7e7f3582006-01-08 01:04:54 -08001#ifndef _SCREEN_INFO_H
2#define _SCREEN_INFO_H
3
David Howells607ca462012-10-13 10:46:48 +01004#include <uapi/linux/screen_info.h>
Brian Gerst7e7f3582006-01-08 01:04:54 -08005
Rusty Russellee8e7cf2007-10-22 10:56:19 +10006extern struct screen_info screen_info;
7
8#define ORIG_X (screen_info.orig_x)
9#define ORIG_Y (screen_info.orig_y)
10#define ORIG_VIDEO_MODE (screen_info.orig_video_mode)
11#define ORIG_VIDEO_COLS (screen_info.orig_video_cols)
12#define ORIG_VIDEO_EGA_BX (screen_info.orig_video_ega_bx)
13#define ORIG_VIDEO_LINES (screen_info.orig_video_lines)
14#define ORIG_VIDEO_ISVGA (screen_info.orig_video_isVGA)
15#define ORIG_VIDEO_POINTS (screen_info.orig_video_points)
Brian Gerst7e7f3582006-01-08 01:04:54 -080016#endif /* _SCREEN_INFO_H */