diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2012-01-09 20:21:31 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2012-01-14 17:19:30 -0500 |
commit | c4a0b976c06837636533d561c59d22feb03baec3 (patch) | |
tree | e02d59e02e20df00207dead0533f6c8e8b7fc282 /vgasrc/vgahw.h | |
parent | 10dff3db247d07df8fcc83806f8e660ba2b3b6c2 (diff) | |
download | seabios-c4a0b976c06837636533d561c59d22feb03baec3.tar.gz |
vgabios: Use vgamode_s in cirrus and bochsvga mode tables.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'vgasrc/vgahw.h')
-rw-r--r-- | vgasrc/vgahw.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vgasrc/vgahw.h b/vgasrc/vgahw.h index 55e3bc4c..9d8a0679 100644 --- a/vgasrc/vgahw.h +++ b/vgasrc/vgahw.h @@ -10,6 +10,10 @@ #include "geodevga.h" // geodevga_init static inline struct vgamode_s *vgahw_find_mode(int mode) { + if (CONFIG_VGA_CIRRUS) + return clext_find_mode(mode); + if (CONFIG_VGA_BOCHS) + return bochsvga_find_mode(mode); return stdvga_find_mode(mode); } |