X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Finclude%2Fpalacios%2Fvmm_ctrl_regs.h;h=e48771191775c147e88dce7e7c6ec9464fe6ce5f;hb=9feccf93cd8327d1d30a404a92f19716bf5a1e96;hp=f23caadf357f34aec03e3694549a3338f627d400;hpb=de3fce7c94e36342005ae5f79fcf22937acde586;p=palacios.git diff --git a/palacios/include/palacios/vmm_ctrl_regs.h b/palacios/include/palacios/vmm_ctrl_regs.h index f23caad..e487711 100644 --- a/palacios/include/palacios/vmm_ctrl_regs.h +++ b/palacios/include/palacios/vmm_ctrl_regs.h @@ -186,7 +186,6 @@ struct rflags { - /* // First opcode byte static const uchar_t cr_access_byte = 0x0f; @@ -211,9 +210,15 @@ int v3_handle_cr3_read(struct guest_info * info); int v3_handle_cr4_write(struct guest_info * info); int v3_handle_cr4_read(struct guest_info * info); +int v3_handle_cr8_write(struct guest_info * info); +int v3_handle_cr8_read(struct guest_info * info); + + +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_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_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__