aboutsummaryrefslogtreecommitdiff
path: root/payloads/libpayload/include/video_console.h
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2010-03-25 18:56:26 +0000
committerStefan Reinauer <stepan@openbios.org>2010-03-25 18:56:26 +0000
commitb700254aa5150023a13902adbe31839ec4f926cb (patch)
tree087400b833d533b12097fa21454815aff6df9784 /payloads/libpayload/include/video_console.h
parent7208f6e031957ab163136546c191d577c7418299 (diff)
Add coreboot framebuffer support to libpayload
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Patrick Georgi <patrick.georgi@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5295 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'payloads/libpayload/include/video_console.h')
-rw-r--r--payloads/libpayload/include/video_console.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/payloads/libpayload/include/video_console.h b/payloads/libpayload/include/video_console.h
index 1646ec6056..4894da4dfd 100644
--- a/payloads/libpayload/include/video_console.h
+++ b/payloads/libpayload/include/video_console.h
@@ -30,9 +30,6 @@
#ifndef _VIDEO_CONSOLE_H
#define _VIDEO_CONSOLE_H
-#define VIDEO_ROWS 25
-#define VIDEO_COLS 80
-
struct video_console {
int (*init)(void);
void (*putc)(u8, u8, unsigned int);
@@ -42,6 +39,9 @@ struct video_console {
void (*get_cursor)(unsigned int *, unsigned int *, unsigned int *);
void (*set_cursor)(unsigned int, unsigned int);
void (*enable_cursor)(int);
+
+ unsigned int rows;
+ unsigned int columns;
};
#endif