Brian Gerst | 7e7f358 | 2006-01-08 01:04:54 -0800 | [diff] [blame] | 1 | #ifndef _SCREEN_INFO_H |
| 2 | #define _SCREEN_INFO_H |
| 3 | |
David Howells | 607ca46 | 2012-10-13 10:46:48 +0100 | [diff] [blame] | 4 | #include <uapi/linux/screen_info.h> |
Brian Gerst | 7e7f358 | 2006-01-08 01:04:54 -0800 | [diff] [blame] | 5 | |
Rusty Russell | ee8e7cf | 2007-10-22 10:56:19 +1000 | [diff] [blame] | 6 | extern 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 Gerst | 7e7f358 | 2006-01-08 01:04:54 -0800 | [diff] [blame] | 16 | #endif /* _SCREEN_INFO_H */ |