Commit 127d7564 authored by James Simmons's avatar James Simmons

Added VBI support to VESA

parent b44edae3
......@@ -96,7 +96,7 @@
#define PARAM_VESAPM_SEG 0x2e
#define PARAM_VESAPM_OFF 0x30
#define PARAM_LFB_PAGES 0x32
#define PARAM_VESA_ATTRIB 0x34
/* Define DO_STORE according to CONFIG_VIDEO_RETAIN */
#ifdef CONFIG_VIDEO_RETAIN
......@@ -221,6 +221,8 @@ mopar_gr:
movl %eax, %fs:(PARAM_LFB_COLORS)
movl 35(%di), %eax
movl %eax, %fs:(PARAM_LFB_COLORS+4)
movw %ax, %fs:(PARAM_VESA_ATTRIB)
movw 0(%di), %ax
# get video mem size
leaw modelist+1024, %di
......
......@@ -89,7 +89,8 @@ struct screen_info {
unsigned short vesapm_seg; /* 0x2e */
unsigned short vesapm_off; /* 0x30 */
unsigned short pages; /* 0x32 */
/* 0x34 -- 0x3f reserved for future expansion */
unsigned short vesa_attributes; /* 0x34 */
/* 0x36 -- 0x3f reserved for future expansion */
};
extern struct screen_info screen_info;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment