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:
parent
277edee2dc
commit
75d981b7be
@ -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)
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user