Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


major VMX update
[palacios.git] / palacios / include / palacios / vmx_ctrl_regs.h
index 88b24f4..4a8f0d8 100644 (file)
@@ -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 <jarusl@cs.northwestern.edu> 
+ * Copyright (c) 2008, The V3VEE Project <http://www.v3vee.org> 
+ * All rights reserved.
+ *
+ * Author: Andy Gocke <agocke@gmail.com>
+ *
+ * This is free software.  You are permitted to use,
+ * redistribute, and modify it as specified in the file "V3VEE_LICENSE".
+ */
 
-#include <palacios/vm_guest.h>
-#include <palacios/vmm_ctrl_regs.h>
+#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 <palacios/vmx_handler.h>
+
+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