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.


symbiotic updates for module loading
[palacios-OLD.git] / palacios / include / palacios / vmm_symmod.h
index b6d3745..57ef01c 100644 (file)
 #include <palacios/vmm_config.h>
 #include <palacios/vmm_hashtable.h>
 
-struct v3_symmod_loader_ops {
 
-    int (*load_module)(struct v3_vm_info * vm, char * name, int len, void * priv_data);
-};
 
 
-struct v3_symmod_state {
 
-    struct v3_symmod_loader_ops * loader_ops;
-    void * loader_data;
 
-    struct hashtable * module_table;
-};
 
 #define V3_SYMMOD_INV (0x00000000)
 #define V3_SYMMOD_LNX (0x00000001)
@@ -60,6 +52,25 @@ struct v3_sym_module {
 
 
 
+struct v3_symmod_loader_ops {
+
+    int (*load_module)(struct v3_vm_info * vm, struct v3_sym_module * mod,  void * priv_data);
+};
+
+
+struct v3_symmod_state {
+
+    struct v3_symmod_loader_ops * loader_ops;
+    void * loader_data;
+
+    struct hashtable * module_table;
+
+    /* List containing V3 symbols */
+    /* (defined in vmm_symmod.c)  */
+    struct list_head v3_sym_list;
+};
+
+
 
 int v3_set_symmod_loader(struct v3_vm_info * vm, struct v3_symmod_loader_ops * ops, void * priv_data);