X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Finclude%2Fpalacios%2Fvmm_mem.h;h=69743446b51e80d92af820ca6773b1fcda01f71a;hb=382829fe58cb541af371547325c5502e37032ecd;hp=32d6ae6f3b36b2d88d2e06308ad57ef472ac91f2;hpb=1fd0d9b438ed24410346ad7a4a23de70a6ad68ea;p=palacios.git diff --git a/palacios/include/palacios/vmm_mem.h b/palacios/include/palacios/vmm_mem.h index 32d6ae6..6974344 100644 --- a/palacios/include/palacios/vmm_mem.h +++ b/palacios/include/palacios/vmm_mem.h @@ -44,6 +44,9 @@ typedef struct { union { uint16_t value; struct { + // These reflect the VMM's intent for the shadow or nested pts + // that will implement the region. The guest's intent is in + // its own page tables. uint8_t read : 1; uint8_t write : 1; uint8_t exec : 1; @@ -103,17 +106,16 @@ int v3_add_shadow_mem(struct v3_vm_info * vm, uint16_t core_id, struct v3_mem_region * v3_get_mem_region(struct v3_vm_info * vm, uint16_t core_id, addr_t guest_addr); -struct v3_mem_region * v3_get_next_mem_region(struct v3_vm_info * vm, uint16_t core_id, addr_t guest_addr); +uint32_t v3_get_max_page_size(struct guest_info * core, addr_t fault_addr, v3_cpu_mode_t mode); + void v3_print_mem_map(struct v3_vm_info * vm); -uint32_t v3_get_max_page_size(struct guest_info * core, addr_t fault_addr, uint32_t req_size); -uint32_t v3_compute_page_alignment(addr_t addr); -#endif // ! __V3VEE__ +#endif /* ! __V3VEE__ */ #endif