X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Finclude%2Fpalacios%2Fvm_guest_mem.h;h=7c0dbcf76bb5cc64a3d53f417e5dc0b7f93ca472;hb=626494b00fd477070f7eb43693eb16c4dc45f66b;hp=6d983aee39b0a02e5390526f9871bfd88da91994;hpb=dc6b47d05e37e6c3738e1bc6165ec4a107717d2b;p=palacios.git diff --git a/palacios/include/palacios/vm_guest_mem.h b/palacios/include/palacios/vm_guest_mem.h index 6d983ae..7c0dbcf 100644 --- a/palacios/include/palacios/vm_guest_mem.h +++ b/palacios/include/palacios/vm_guest_mem.h @@ -99,19 +99,16 @@ int v3_hva_to_gva(struct guest_info * guest_info, addr_t host_va, addr_t * gues -// KCH -// Check if pte for this gva has certain permissions -int v3_gva_can_access(struct guest_info * core, addr_t gva); -int v3_read_gva_memory(struct guest_info * guest_info, addr_t guest_va, int count, uchar_t * dest); -int v3_read_gpa_memory(struct guest_info * guest_info, addr_t guest_pa, int count, uchar_t * dest); -int v3_write_gpa_memory(struct guest_info * guest_info, addr_t guest_pa, int count, uchar_t * src); -// TODO int write_guest_va_memory(struct guest_info * guest_info, addr_t guest_va, int count, char * src); +int v3_read_gva_memory(struct guest_info * guest_info, addr_t guest_va, int count, uint8_t * dest); +int v3_read_gpa_memory(struct guest_info * guest_info, addr_t guest_pa, int count, uint8_t * dest); +int v3_write_gpa_memory(struct guest_info * guest_info, addr_t guest_pa, int count, uint8_t * src); +int v3_write_gva_memory(struct guest_info * guest_info, addr_t guest_va, int count, uint8_t * src); #endif // ! __V3VEE__