X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Finclude%2Fpalacios%2Fvmm_console.h;h=fe84bfdcbb9f38c436565fe6169cb303780fb120;hb=5b1f618cf74dbcd7e490fa3fe4da5a4c53d79b5d;hp=cab3c4fa7b2d8248c2a7dd29b827b3276803cdfe;hpb=ec660ce1c5410ef08a7820f7ee064a30b416a523;p=palacios.git diff --git a/palacios/include/palacios/vmm_console.h b/palacios/include/palacios/vmm_console.h index cab3c4f..fe84bfd 100644 --- a/palacios/include/palacios/vmm_console.h +++ b/palacios/include/palacios/vmm_console.h @@ -37,6 +37,7 @@ int v3_console_set_cursor(v3_console_t cons, int x, int y); int v3_console_set_char(v3_console_t cons, int x, int y, char c, uint8_t style); int v3_console_scroll(v3_console_t cons, int lines); int v3_console_update(v3_console_t cons); +int v3_console_set_text_resolution(v3_console_t cons, int cols, int rows); #endif @@ -57,6 +58,9 @@ struct v3_console_hooks { /* scroll the console down the specified number of lines */ int (*scroll)(void * tty, int lines); + /* change the text resolution (always followed by a full screen update) */ + int (*set_text_resolution)(void * tty, int cols, int rows); + /* force update of console display; all updates by above functions * may be defferred until the next tty_update call */