History

x86: replace a magic number with a named constant in the VESA boot code

Replace a magic number with a named constant in the VESA boot code.

Michal Januszewski committed 18 years ago

Commit 24073901 parent d960c9c1 file · +1 −1Browse files

Unified · Split

arch/x86/boot/video-vesa.c+1−1
@@ -224,7 +224,7 @@ static void vesa_store_pm_info(void) · 223 unmodified lines
224static void vesa_store_mode_params_graphics(void)224static void vesa_store_mode_params_graphics(void)
225{225{
226 /* Tell the kernel we're in VESA graphics mode */226 /* Tell the kernel we're in VESA graphics mode */
227 boot_params.screen_info.orig_video_isVGA = 0x23;227 boot_params.screen_info.orig_video_isVGA = VIDEO_TYPE_VLFB;
228 228
229 /* Mode parameters */229 /* Mode parameters */
230 boot_params.screen_info.vesa_attributes = vminfo.mode_attr;230 boot_params.screen_info.vesa_attributes = vminfo.mode_attr;