X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=blobdiff_plain;f=palacios%2Finclude%2Fpalacios%2Fvmx_io.h;h=b0b105f36005d5779a103746b66a98aad65410cb;hp=2530a7fd828f953920d5a35544e26bc691cdd9f7;hb=5c5dfe422e57ac9833dd3ed3a7d0f5c39557b86c;hpb=52a58bb7bdf06ca22ad6883f8095f8aa5ca4b8a4 diff --git a/palacios/include/palacios/vmx_io.h b/palacios/include/palacios/vmx_io.h index 2530a7f..b0b105f 100644 --- a/palacios/include/palacios/vmx_io.h +++ b/palacios/include/palacios/vmx_io.h @@ -1,10 +1,37 @@ +/* + * 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__ + + +struct vmx_exit_info; +struct guest_info; 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); +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