diff options
author | Matthew Garrett <mjg@redhat.com> | 2009-11-13 14:57:00 -0500 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-11-13 14:23:11 -0800 |
commit | d9b263528e01bfbaf716b51f38606b3dfe5ac1e9 (patch) | |
tree | 0a10b7c3f2298d48af1ab906bb01924ad08d23fb /include/linux/screen_info.h | |
parent | 156171c71a0dc4bce12b4408bb1591f8fe32dc1a (diff) |
x86, setup: Store the boot cursor state
Add a field to store the boot cursor state and implement this for VGA on
x86. This can then be used to set the default policy for the boot console.
Signed-off-by: Matthew Garrett <mjg@redhat.com>
LKML-Reference: <1258142222-16092-1-git-send-email-mjg@redhat.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'include/linux/screen_info.h')
-rw-r--r-- | include/linux/screen_info.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/screen_info.h b/include/linux/screen_info.h index 1ee2c05142f..899fbb487c9 100644 --- a/include/linux/screen_info.h +++ b/include/linux/screen_info.h @@ -14,7 +14,8 @@ struct screen_info { __u16 orig_video_page; /* 0x04 */ __u8 orig_video_mode; /* 0x06 */ __u8 orig_video_cols; /* 0x07 */ - __u16 unused2; /* 0x08 */ + __u8 flags; /* 0x08 */ + __u8 unused2; /* 0x09 */ __u16 orig_video_ega_bx;/* 0x0a */ __u16 unused3; /* 0x0c */ __u8 orig_video_lines; /* 0x0e */ @@ -65,6 +66,8 @@ struct screen_info { #define VIDEO_TYPE_EFI 0x70 /* EFI graphic mode */ +#define VIDEO_FLAGS_NOCURSOR (1 << 0) /* The video mode has no cursor set */ + #ifdef __KERNEL__ extern struct screen_info screen_info; |