projects
/
seabios.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vgabios: Refactor vga_set_mode and stdvga_set_mode.
[seabios.git]
/
vgasrc
/
vbe.c
diff --git
a/vgasrc/vbe.c
b/vgasrc/vbe.c
index f5989211a9a3a5778dd679687ce091b4ab873bae..df951485e746ff0c26700968ac57bd41ca0a3f49 100644
(file)
--- a/
vgasrc/vbe.c
+++ b/
vgasrc/vbe.c
@@
-12,6
+12,7
@@
#include "util.h" // dprintf
#include "biosvar.h" // get_global_set
#include "bochsvga.h" // bochsvga_set_mode
#include "util.h" // dprintf
#include "biosvar.h" // get_global_set
#include "bochsvga.h" // bochsvga_set_mode
+#include "stdvga.h" // stdvga_set_mode
static void
vbe_104f00(struct bregs *regs)
static void
vbe_104f00(struct bregs *regs)
@@
-189,7
+190,7
@@
vbe_104f02(struct bregs *regs)
dprintf(1, "set VGA mode %x\n", mode);
bochsvga_hires_enable(0);
dprintf(1, "set VGA mode %x\n", mode);
bochsvga_hires_enable(0);
- vga_set_mode(mode, 0);
+
std
vga_set_mode(mode, 0);
} else { /* VBE */
rc = bochsvga_mode_info(mode & 0x1ff, &modeinfo);
if (rc) {
} else { /* VBE */
rc = bochsvga_mode_info(mode & 0x1ff, &modeinfo);
if (rc) {