mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 08:19:28 +00:00
![David Howells](/assets/img/avatar_default.png)
Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Michael Kerrisk <mtk.manpages@gmail.com> Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Acked-by: Dave Jones <davej@redhat.com>
16 lines
572 B
C
16 lines
572 B
C
#ifndef _SCREEN_INFO_H
|
|
#define _SCREEN_INFO_H
|
|
|
|
#include <uapi/linux/screen_info.h>
|
|
|
|
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)
|
|
#endif /* _SCREEN_INFO_H */
|