X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=blobdiff_plain;f=palacios%2Finclude%2Fdevices%2Fconsole.h;fp=palacios%2Finclude%2Fdevices%2Fconsole.h;h=1040b95ec9a52ba6fa683f980ed84e5a262ee34c;hp=70eeff774ee08aaa2e1eab3d74a4c03fb9607bbe;hb=de6084de2145f3889a16d8498e5e7d44e96e0162;hpb=87b1679efe8bee960b65cfd730188ccc94966b71 diff --git a/palacios/include/devices/console.h b/palacios/include/devices/console.h index 70eeff7..1040b95 100644 --- a/palacios/include/devices/console.h +++ b/palacios/include/devices/console.h @@ -28,12 +28,13 @@ 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 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__