mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-21 11:44:01 +08:00
607ca46e97
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>
17 lines
572 B
C
17 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 */
|