X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=blobdiff_plain;f=palacios%2Finclude%2Fpalacios%2Fvmx_ctrl_regs.h;h=4a8f0d80ac6470d934855b403f50c799e4c75580;hp=88b24f43cc887148ce6ca1b5622663856e4c4967;hb=5bf6d0c260240e314876a2fca8e3fd56bd6a1029;hpb=3373500a962dba67f09d120d7db3c2ea1d4beee2 diff --git a/palacios/include/palacios/vmx_ctrl_regs.h b/palacios/include/palacios/vmx_ctrl_regs.h index 88b24f4..4a8f0d8 100644 --- a/palacios/include/palacios/vmx_ctrl_regs.h +++ b/palacios/include/palacios/vmx_ctrl_regs.h @@ -1,7 +1,38 @@ +/* + * This file is part of the Palacios Virtual Machine Monitor developed + * by the V3VEE Project with funding from the United States National + * Science Foundation and the Department of Energy. + * + * The V3VEE Project is a joint project between Northwestern University + * and the University of New Mexico. You can find out more at + * http://www.v3vee.org + * + * Copyright (c) 2008, Jack Lange + * Copyright (c) 2008, The V3VEE Project + * All rights reserved. + * + * Author: Andy Gocke + * + * This is free software. You are permitted to use, + * redistribute, and modify it as specified in the file "V3VEE_LICENSE". + */ -#include -#include +#ifndef __VMX_CTRL_REGS_H__ +#define __VMX_CTRL_REGS_H__ -int v3_vmx_handle_cr0_access(struct guest_info * info); -int v3_vmx_handle_cr3_access(struct guest_info * info); +#ifdef __V3VEE__ +#include + +struct guest_info; + +int v3_vmx_handle_cr0_access(struct guest_info * info, + struct vmx_exit_cr_qual * cr_qual, + struct vmx_exit_info * exit_info); +int v3_vmx_handle_cr3_access(struct guest_info * info, + struct vmx_exit_cr_qual * cr_qual); + + +#endif + +#endif