2 * This file is part of the Palacios Virtual Machine Monitor developed
3 * by the V3VEE Project with funding from the United States National
4 * Science Foundation and the Department of Energy.
6 * The V3VEE Project is a joint project between Northwestern University
7 * and the University of New Mexico. You can find out more at
10 * Copyright (c) 2008, Steven Jaconette <stevenjaconette2007@u.northwestern.edu>
11 * Copyright (c) 2008, Jack Lange <jarusl@cs.northwestern.edu>
12 * Copyright (c) 2008, The V3VEE Project <http://www.v3vee.org>
13 * All rights reserved.
15 * Author: Steven Jaconette <stevenjaconette2007@u.northwestern.edu>
17 * This is free software. You are permitted to use,
18 * redistribute, and modify it as specified in the file "V3VEE_LICENSE".
21 #ifndef __VMM_DIRECT_PAGING_H__
22 #define __VMM_DIRECT_PAGING_H__
26 #include <palacios/vmm_mem.h>
27 #include <palacios/vmm_paging.h>
29 int v3_init_passthrough_pts(struct guest_info * guest_info);
30 int v3_reset_passthrough_pts(struct guest_info * guest_info);
32 int v3_handle_passthrough_pagefault(struct guest_info * info, addr_t fault_addr, pf_error_t error_code);
33 int v3_handle_nested_pagefault(struct guest_info * info, addr_t fault_addr, pf_error_t error_code);
35 int v3_activate_passthrough_pt(struct guest_info * info);
37 int v3_invalidate_passthrough_addr(struct guest_info * info, addr_t inv_addr);
38 int v3_invalidate_nested_addr(struct guest_info * info, addr_t inv_addr);