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.


Add lock to vmm_queue
[palacios.git] / palacios / include / palacios / vmm_queue.h
index 4cc6b44..e88329f 100644 (file)
@@ -25,7 +25,7 @@
 
 #include <palacios/vmm.h>
 #include <palacios/vmm_list.h>
-
+#include <palacios/vmm_lock.h>
 
 
 /* IMPORTANT:
 
 
 struct queue_entry {
-  addr_t entry;
-  struct list_head entry_list;
+    addr_t entry;
+    struct list_head entry_list;
 };
 
 
 struct gen_queue {
-  uint_t num_entries;
-  struct list_head entries;
-
-  // We really need to implement this....
-  // void * lock;
+    uint_t num_entries;
+    struct list_head entries;
+    v3_lock_t lock;
 };