summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeeti Desai <neetid@codeaurora.org>2015-06-05 18:44:24 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 11:13:01 -0700
commitf6ee2b6ea3d9fa165cf0b33b16d98f9a516a680b (patch)
tree3c0b63e46870e42175f503befa99a55c94c0eb15
parent661ff7a508063b1090229c3d9484031520c9a147 (diff)
msm: secure_buffer: Update the hyp_assign_phys() api
The hyp_assign_phys() api can be called by different usecases where it is not guaranteed that the source vm is always VMID_HLOS. Pass the responsibility of setting the source_vm to caller of the function. Change-Id: I3851a6681f49d4bb6fa5b7a889a16a158497e9e6 Signed-off-by: Neeti Desai <neetid@codeaurora.org>
-rw-r--r--include/soc/qcom/secure_buffer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/soc/qcom/secure_buffer.h b/include/soc/qcom/secure_buffer.h
index 5d5f6de64eea..2f97c59234d5 100644
--- a/include/soc/qcom/secure_buffer.h
+++ b/include/soc/qcom/secure_buffer.h
@@ -66,8 +66,8 @@ static inline int hyp_assign_table(struct sg_table *table,
return -ENOSYS;
}
static inline int hyp_assign_phys(phys_addr_t addr, u64 size,
- int *dest_vmids, int *dest_perms,
- int dest_nelems)
+ u32 *source_vmlist, int source_nelems,
+ int *dest_vmids, int *dest_perms, int dest_nelems)
{
return -ENOSYS;
}