[SeaBIOS] [PATCH 07/15] Add geode specific calls for VESA
Christian Gmeiner
christian.gmeiner at gmail.com
Sat Sep 1 17:12:58 CEST 2012
With this patch it is possible to get and find all defined
geode VESA modes.
Signed-off-by: Christian Gmeiner <christian.gmeiner at gmail.com>
---
vgasrc/vgahw.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/vgasrc/vgahw.h b/vgasrc/vgahw.h
index 044cd32..1842934 100644
--- a/vgasrc/vgahw.h
+++ b/vgasrc/vgahw.h
@@ -14,6 +14,8 @@ static inline struct vgamode_s *vgahw_find_mode(int mode) {
return clext_find_mode(mode);
if (CONFIG_VGA_BOCHS)
return bochsvga_find_mode(mode);
+ if (CONFIG_VGA_GEODELX)
+ return geodevga_find_mode(mode);
return stdvga_find_mode(mode);
}
@@ -30,6 +32,8 @@ static inline void vgahw_list_modes(u16 seg, u16 *dest, u16 *last) {
clext_list_modes(seg, dest, last);
else if (CONFIG_VGA_BOCHS)
bochsvga_list_modes(seg, dest, last);
+ else if (CONFIG_VGA_GEODELX)
+ geodevga_list_modes(seg, dest, last);
else
stdvga_list_modes(seg, dest, last);
}
--
1.7.11.rc2.5.g68f532f
More information about the SeaBIOS
mailing list