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
This commit is contained in:
Stefan Reinauer
2010-03-25 18:56:26 +00:00
committed by Stefan Reinauer
parent 7208f6e031
commit b700254aa5
11 changed files with 359 additions and 17 deletions

View File

@@ -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