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.


symswal telemetry fixes
[palacios.git] / palacios / include / palacios / vmm_hypercall.h
index 6ec1462..333c812 100644 (file)
 typedef struct rb_root v3_hypercall_map_t;
 
 struct guest_info;
+struct v3_vm_info;
 
-void v3_init_hypercall_map(struct guest_info * info);
+void v3_init_hypercall_map(struct v3_vm_info * vm);
 
 
-int v3_register_hypercall(struct guest_info * info, uint_t hypercall_id, 
-                         int (*hypercall)(struct guest_info * info, uint_t hcall_id, void * priv_data),
+int v3_register_hypercall(struct v3_vm_info * vm, uint_t hypercall_id, 
+                         int (*hypercall)(struct guest_info * info , uint_t hcall_id, void * priv_data),
                          void * priv_data);
 
 
@@ -42,6 +43,15 @@ int v3_handle_hypercall(struct guest_info * info);
 
 
 
+typedef enum {
+    MEM_OFFSET_HCALL = 0x1000, 
+    GUEST_INFO_HCALL = 0x3000,
+    TELEMETRY_HCALL = 0x3001,
+    OS_DEBUG_HCALL = 0xc0c0
+} hcall_id_t;
+
+
+
 #endif
 
 #endif