X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Finclude%2Fpalacios%2Fvm_guest.h;h=5b37d8f78c8777b188ccd57a020284857b7aa0cf;hb=18994f099b7316da6f6c9752aa59b08259fb0057;hp=2aea24cc10aa2dae39faf7f26b1093219e653892;hpb=c373d9a80b116014c546e7761982fedf7419664b;p=palacios.git diff --git a/palacios/include/palacios/vm_guest.h b/palacios/include/palacios/vm_guest.h index 2aea24c..5b37d8f 100644 --- a/palacios/include/palacios/vm_guest.h +++ b/palacios/include/palacios/vm_guest.h @@ -1,3 +1,6 @@ +/* (c) 2008, Jack Lange */ +/* (c) 2008, The V3VEE Project */ + #ifndef __VM_GUEST_H #define __VM_GUEST_H @@ -83,15 +86,15 @@ struct shadow_map; struct vmm_io_map; struct emulation_state; - +/*Zheng 07/30/2008*/ struct vm_ctrl_ops { int (*raise_irq)(struct guest_info * info, int irq); + int (*lower_irq)(struct guest_info * info, int irq); }; - typedef enum {SHADOW_PAGING, NESTED_PAGING} vmm_paging_mode_t; typedef enum {VM_RUNNING, VM_STOPPED, VM_SUSPENDED, VM_ERROR, VM_EMULATING} vm_operating_mode_t; @@ -139,6 +142,10 @@ struct guest_info { vm_operating_mode_t run_state; void * vmm_data; + + /* TEMP */ + //ullong_t exit_tsc; + };