X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Finclude%2Fpalacios%2Fvmm_mem.h;h=69743446b51e80d92af820ca6773b1fcda01f71a;hb=92082ed86bcfd503e28dbedb24c79c3dc797dc87;hp=7b6d5d49770393e04a3433bb57bd2fca52b59431;hpb=14fa18cc54571eaa7aaa0f7d55677bdb4dad81a6;p=palacios.git diff --git a/palacios/include/palacios/vmm_mem.h b/palacios/include/palacios/vmm_mem.h index 7b6d5d4..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; @@ -105,14 +108,14 @@ 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); - -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, v3_cpu_mode_t mode); +void v3_print_mem_map(struct v3_vm_info * vm); -#endif // ! __V3VEE__ +#endif /* ! __V3VEE__ */ #endif