summaryrefslogtreecommitdiff
path: root/src/devices/oprom/include/vbe.h
diff options
context:
space:
mode:
authorStefan Reinauer <reinauer@chromium.org>2011-10-12 14:30:59 -0700
committerStefan Reinauer <stefan.reinauer@coreboot.org>2011-10-13 20:00:50 +0200
commitc1efb9038402af268a0a25957ac236d047b21f22 (patch)
treecf03bd6d38a9731d391e84e92e5ebf44dcff3b2b /src/devices/oprom/include/vbe.h
parent216fa4633a583fcc278186e1f927f32332d1e5c5 (diff)
refactor vesa mode setting code and bootsplash code
- adds possibility to set a vesa mode without showing a bootsplash - make bootsplash / mode setting code available in real mode. Change-Id: I0045c9d75757657f4ce531889593102ea1e39ce5 Signed-off-by: Stefan Reinauer <reinauer@google.com> Reviewed-on: http://review.coreboot.org/256 Tested-by: build bot (Jenkins) Reviewed-by: Marc Jones <marcj303@gmail.com>
Diffstat (limited to 'src/devices/oprom/include/vbe.h')
-rw-r--r--src/devices/oprom/include/vbe.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/devices/oprom/include/vbe.h b/src/devices/oprom/include/vbe.h
index b87b0d5506..f857b67af2 100644
--- a/src/devices/oprom/include/vbe.h
+++ b/src/devices/oprom/include/vbe.h
@@ -104,9 +104,11 @@ typedef struct {
struct lb_framebuffer;
-void vbe_set_graphics(void); // yabel only
-
-void fill_lb_framebuffer(struct lb_framebuffer *framebuffer);
+void vbe_set_graphics(void);
void vbe_textmode_console(void);
+void fill_lb_framebuffer(struct lb_framebuffer *framebuffer);
+#define VESA_GET_INFO 0x4f00
+#define VESA_GET_MODE_INFO 0x4f01
+#define VESA_SET_MODE 0x4f02