VHE: Add vm helper function get memory mode for a partitions range.

Added vm helper that gets the memory mode for a given range(ipa for a vm
and va for a el0 partition).

Change-Id: Ia0d7094528795571b4e5203312222b3e30d69682
Signed-off-by: Raghu Krishnamurthy <raghu.ncstate@gmail.com>
diff --git a/inc/hf/vm.h b/inc/hf/vm.h
index 1a222ff..f7e674c 100644
--- a/inc/hf/vm.h
+++ b/inc/hf/vm.h
@@ -226,3 +226,5 @@
 struct vm *vm_get_first_boot(void);
 
 void vm_notifications_init_bindings(struct notifications *n);
+bool vm_mem_get_mode(struct vm_locked vm_locked, ipaddr_t begin, ipaddr_t end,
+		     uint32_t *mode);