X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Finclude%2Fpalacios%2Fvmx_io.h;h=e065e701aef0bd7d4418582cb7147e54f2f85bd1;hb=e47ed16a96f6d7faa282bf757e9d2cc065d2657e;hp=2530a7fd828f953920d5a35544e26bc691cdd9f7;hpb=52a58bb7bdf06ca22ad6883f8095f8aa5ca4b8a4;p=palacios.git diff --git a/palacios/include/palacios/vmx_io.h b/palacios/include/palacios/vmx_io.h index 2530a7f..e065e70 100644 --- a/palacios/include/palacios/vmx_io.h +++ b/palacios/include/palacios/vmx_io.h @@ -1,10 +1,39 @@ +/* + * 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: Jack Lange + * + * This is free software. You are permitted to use, + * redistribute, and modify it as specified in the file "V3VEE_LICENSE". + */ +#ifndef __VMX_IO_H__ +#define __VMX_IO_H__ -#include +#ifdef __V3VEE__ -int v3_init_vmx_io_map(struct guest_info * info); -int v3_handle_vmx_io_in(struct guest_info * info); -int v3_handle_vmx_io_ins(struct guest_info * info); -int v3_handle_vmx_io_out(struct guest_info * info); -int v3_handle_vmx_io_outs(struct guest_info * info); +struct vmx_exit_info; +struct guest_info; +struct v3_vm_info; +int v3_init_vmx_io_map(struct v3_vm_info * vm); +int v3_deinit_vmx_io_map(struct v3_vm_info * vm); + +int v3_handle_vmx_io_in(struct guest_info * info, struct vmx_exit_info * exit_info); +int v3_handle_vmx_io_ins(struct guest_info * info, struct vmx_exit_info * exit_info); +int v3_handle_vmx_io_out(struct guest_info * info, struct vmx_exit_info * exit_info); +int v3_handle_vmx_io_outs(struct guest_info * info, struct vmx_exit_info * exit_info); + + +#endif +#endif