Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
127d7564
Commit
127d7564
authored
Jun 18, 2002
by
James Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added VBI support to VESA
parent
b44edae3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
arch/i386/boot/video.S
arch/i386/boot/video.S
+3
-1
include/linux/tty.h
include/linux/tty.h
+2
-1
No files found.
arch/i386/boot/video.S
View file @
127d7564
...
...
@@ -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
...
...
include/linux/tty.h
View file @
127d7564
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment