X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Finclude%2Fdevices%2Fconsole.h;h=7da832a4d8b8a77100d5984bda5285a392a60800;hb=e895aea7212e8cd9e1ba9555f3313fbf90f83d7f;hp=70eeff774ee08aaa2e1eab3d74a4c03fb9607bbe;hpb=b54cbe1dbbe15ed228de7472ea284df96ecce909;p=palacios.git diff --git a/palacios/include/devices/console.h b/palacios/include/devices/console.h index 70eeff7..7da832a 100644 --- a/palacios/include/devices/console.h +++ b/palacios/include/devices/console.h @@ -28,12 +28,14 @@ struct v3_console_ops { // filled in by the backend device int (*update_screen)(uint_t x, uint_t y, uint_t length, void * private_data); int (*update_cursor)(uint_t x, uint_t y, void * private_data); - int (*scroll)(uint_t rows, void * private_data); + int (*scroll)(int rows, void * private_data); + int (*set_text_resolution)(int cols, int rows, void * private_data); }; int v3_cons_get_fb(struct vm_device * frontend_dev, uint8_t * dst, uint_t offset, uint_t length); +int v3_console_register_cga(struct vm_device * cga_dev, struct v3_console_ops * ops, void * private_data); #endif // ! __V3VEE__