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.


bug fix for console scroll signedness issue
Erik van der Kouwe [Fri, 9 Apr 2010 17:33:30 +0000 (12:33 -0500)]
palacios/include/devices/console.h
palacios/src/devices/telnet_cons.c

index 70eeff7..8484452 100644 (file)
@@ -28,7 +28,7 @@ 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);
 };
 
 
index 30e07d1..8f71adf 100644 (file)
@@ -354,7 +354,7 @@ static int screen_update(uint_t x, uint_t y, uint_t length, void * private_data)
     return ret;
 }
 
-static int scroll(uint_t rows, void * private_data) {
+static int scroll(int rows, void * private_data) {
     struct vm_device * dev = (struct vm_device *)private_data;
     struct cons_state * state = (struct cons_state *)dev->private_data;
     addr_t irq_state = 0;