X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Finclude%2Fpalacios%2Fvmm_ctrl_regs.h;h=e072a0491f305ca3c5aa530dc0645dd818fe71dc;hb=b7093fd3602ef2c796a1f8a0daded9d6aad0b756;hp=aafa83be2c2eb3ae9e034aa004aa283a5e2cb4fd;hpb=9b4bfeefac09294a6f0ae12dbadf102eb547f5ec;p=palacios.git diff --git a/palacios/include/palacios/vmm_ctrl_regs.h b/palacios/include/palacios/vmm_ctrl_regs.h index aafa83b..e072a04 100644 --- a/palacios/include/palacios/vmm_ctrl_regs.h +++ b/palacios/include/palacios/vmm_ctrl_regs.h @@ -25,6 +25,8 @@ #include +#define EFER_MSR 0xc0000080 + struct cr0_real { uint_t pe : 1; uint_t mp : 1; @@ -210,8 +212,11 @@ int v3_handle_cr4_write(struct guest_info * info); int v3_handle_cr4_read(struct guest_info * info); -int v3_handle_efer_write(uint_t msr, struct v3_msr src, void * priv_data); -int v3_handle_efer_read(uint_t msr, struct v3_msr * dst, void * priv_data); +int v3_handle_efer_write(struct guest_info * core, uint_t msr, struct v3_msr src, void * priv_data); +int v3_handle_efer_read(struct guest_info * core, uint_t msr, struct v3_msr * dst, void * priv_data); + +int v3_handle_vm_cr_write(struct guest_info * core, uint_t msr, struct v3_msr src, void * priv_data); +int v3_handle_vm_cr_read(struct guest_info * core, uint_t msr, struct v3_msr * dst, void * priv_data); #endif // ! __V3VEE__