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.


more work on the memory system
[palacios.git] / palacios / include / geekos / vm_guest_mem.h
1 #ifndef __VM_GUEST_MEM_H
2 #define __VM_GUEST_MEM_H
3
4 #include <geekos/vm_guest.h>
5 #include <geekos/vmm_mem.h>
6
7
8 int guest_va_to_guest_pa(guest_info_t * guest_info, addr_t guest_va, addr_t * guest_pa);
9 int guest_pa_to_guest_va(guest_info_t * guest_info, addr_t guest_pa, addr_t * guest_va);
10 int guest_va_to_host_va(guest_info_t * guest_info, addr_t guest_va, addr_t * host_va);
11 int guest_pa_to_host_pa(guest_info_t * guest_info, addr_t guest_pa, addr_t * host_pa);
12 int guest_pa_to_host_va(guest_info_t * guest_info, addr_t guest_pa, addr_t * host_va);
13
14 int host_va_to_guest_pa(guest_info_t * guest_info, addr_t host_va, addr_t * guest_pa);
15 int host_pa_to_guest_va(guest_info_t * guest_info, addr_t host_pa, addr_t * guest_va);
16
17 int host_va_to_host_pa(addr_t host_va, addr_t * host_pa);
18 int host_pa_to_host_va(addr_t host_pa, addr_t * host_va);
19
20
21
22 int read_guest_va_memory(guest_info_t * guest_info, addr_t guest_va, int count, char * dest);
23 int read_guest_pa_memory(guest_info_t * guest_info, addr_t guest_pa, int count, char * dest);
24
25
26
27 #endif