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);
+typedef enum {
+ MEM_OFFSET_HCALL = 0x1000,
+ GUEST_INFO_HCALL = 0x3000,
+ TELEMETRY_HCALL = 0x3001,
+ OS_DEBUG_HCALL = 0xc0c0
+} hcall_id_t;
+
+
+
#endif
#endif