diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-01-30 07:33:02 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:33:02 -0500 |
commit | 1cac5004e953506166e980da5776d5cc1c176d79 (patch) | |
tree | da90c8870839b0445b45b39b473c8715afc31424 /arch/x86/boot/video.h | |
parent | 02a7b425e82cd0052e5eaedbae81a522c6aae6c4 (diff) |
x86 setup: display VESA graphics modes in vga=ask menu
Display VESA graphics modes, with their mode IDs, in the vga=ask
menu. Most VESA mode numbers are platform-dependent, so it helps to
have an easy way to display them.
Based in part on a patch by Petr Vandrovec <petr@vandrovec.name>.
Cc: Petr Vandrovec <petr@vandrovec.name>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/boot/video.h')
-rw-r--r-- | arch/x86/boot/video.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/boot/video.h b/arch/x86/boot/video.h index b92447d51213..d69347f79e8e 100644 --- a/arch/x86/boot/video.h +++ b/arch/x86/boot/video.h | |||
@@ -83,7 +83,8 @@ void store_screen(void); | |||
83 | 83 | ||
84 | struct mode_info { | 84 | struct mode_info { |
85 | u16 mode; /* Mode number (vga= style) */ | 85 | u16 mode; /* Mode number (vga= style) */ |
86 | u8 x, y; /* Width, height */ | 86 | u16 x, y; /* Width, height */ |
87 | u16 depth; /* Bits per pixel, 0 for text mode */ | ||
87 | }; | 88 | }; |
88 | 89 | ||
89 | struct card_info { | 90 | struct card_info { |