aboutsummaryrefslogtreecommitdiffstats
path: root/com32/lib/sys/vesa/initvesa.c
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@intel.com>2012-10-25 16:53:01 +0100
committerMatt Fleming <matt.fleming@intel.com>2012-11-05 12:51:47 +0000
commitfc8f32cbea0692c0d130bb596107373c1dd30222 (patch)
tree6786b43ea79ed7824b189fca557ffb73f7698e09 /com32/lib/sys/vesa/initvesa.c
parent3e3335f63161ce93b1b6c556a68d20ffc3527964 (diff)
downloadsyslinux-fc8f32cbea0692c0d130bb596107373c1dd30222.tar.gz
syslinux-fc8f32cbea0692c0d130bb596107373c1dd30222.tar.xz
syslinux-fc8f32cbea0692c0d130bb596107373c1dd30222.zip
vesa: Change the prototype of __vesacon_init()
commit 97402a0a1639 ("efi, vesa: Fix vesa initialization and video mode resolution") should have updated the BIOS version of the vesa code too. Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'com32/lib/sys/vesa/initvesa.c')
-rw-r--r--com32/lib/sys/vesa/initvesa.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/com32/lib/sys/vesa/initvesa.c b/com32/lib/sys/vesa/initvesa.c
index 9a1ae384..d227629d 100644
--- a/com32/lib/sys/vesa/initvesa.c
+++ b/com32/lib/sys/vesa/initvesa.c
@@ -329,7 +329,7 @@ static int init_text_display(void)
return 0;
}
-int __vesacon_init(int x, int y)
+int __vesacon_init(int *x, int *y)
{
int rv;
@@ -337,12 +337,12 @@ int __vesacon_init(int x, int y)
if (x86_init_fpu())
return 10;
- rv = vesacon_set_mode(x, y);
+ rv = vesacon_set_mode(*x, *y);
if (rv) {
/* Try to see if we can just patch the BIOS... */
- if (__vesacon_i915resolution(x, y))
+ if (__vesacon_i915resolution(*x, *y))
return rv;
- if (vesacon_set_mode(x, y))
+ if (vesacon_set_mode(*x, *y))
return rv;
}