console: add kmscon_console_reset() dummy

This dummy is supposed to hard-reset the console. As the console is far
from finished, we keep it as dummy and implement this later.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
This commit is contained in:
David Herrmann 2012-05-29 11:39:07 +02:00
parent 277edee2dc
commit 75d981b7be
2 changed files with 9 additions and 0 deletions

View File

@ -1035,6 +1035,14 @@ unsigned int kmscon_console_get_height(struct kmscon_console *con)
return con->cells->size_y;
}
void kmscon_console_reset(struct kmscon_console *con)
{
if (!con)
return;
/* TODO: reset console */
}
void kmscon_console_draw(struct kmscon_console *con, struct font_screen *fscr)
{
if (!con)

View File

@ -52,6 +52,7 @@ unsigned int kmscon_console_get_width(struct kmscon_console *con);
unsigned int kmscon_console_get_height(struct kmscon_console *con);
int kmscon_console_resize(struct kmscon_console *con, unsigned int x,
unsigned int y, unsigned int height);
void kmscon_console_reset(struct kmscon_console *con);
void kmscon_console_draw(struct kmscon_console *con, struct font_screen *fscr);