Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


added checks for 64 bit operand decoding
[palacios.git] / palacios / src / palacios / vmm_console.c
index 9ecf780..bf5d5ae 100644 (file)
@@ -35,6 +35,12 @@ v3_console_t v3_console_open(struct v3_vm_info * vm, uint32_t width, uint32_t he
     return console_hooks->open(vm->host_priv_data, width, height);
 }
 
+void v3_console_close(v3_console_t cons) {
+    V3_ASSERT(console_hooks);
+    V3_ASSERT(console_hooks->close);
+
+    console_hooks->close(cons);
+}
 
 int v3_console_set_cursor(v3_console_t cons, int x, int y) {
     V3_ASSERT(console_hooks != NULL);
@@ -58,6 +64,12 @@ int v3_console_scroll(v3_console_t cons, int lines) {
     return console_hooks->scroll(cons, lines);
 }
 
+int v3_console_set_text_resolution(v3_console_t cons, int cols, int rows) {
+    V3_ASSERT(console_hooks != NULL);
+    V3_ASSERT(console_hooks->set_text_resolution != NULL);
+    
+    return console_hooks->set_text_resolution(cons, cols, rows);
+}
 
 int v3_console_update(v3_console_t cons) {
     V3_ASSERT(console_hooks != NULL);