projects
/
seabios.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vgabios: Unify X_init() functions.
[seabios.git]
/
vgasrc
/
stdvga.c
diff --git
a/vgasrc/stdvga.c
b/vgasrc/stdvga.c
index e55f8fa753e6b9d103989b699d3fc450e1fd1195..c7331e45b42ea342c521622d5d213345b80d3dfc 100644
(file)
--- a/
vgasrc/stdvga.c
+++ b/
vgasrc/stdvga.c
@@
-649,7
+649,7
@@
stdvga_enable_video_addressing(u8 disable)
outb(v | v2, VGAREG_WRITE_MISC_OUTPUT);
}
-void
+int
stdvga_init(void)
{
// switch to color mode and enable CPU access 480 lines
@@
-657,4
+657,6
@@
stdvga_init(void)
// more than 64k 3C4/04
outb(0x04, VGAREG_SEQU_ADDRESS);
outb(0x02, VGAREG_SEQU_DATA);
+
+ return 0;
}