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>
This commit is contained in:
parent
661ff7a508
commit
f6ee2b6ea3
1 changed files with 2 additions and 2 deletions
|
@ -66,8 +66,8 @@ static inline int hyp_assign_table(struct sg_table *table,
|
||||||
return -ENOSYS;
|
return -ENOSYS;
|
||||||
}
|
}
|
||||||
static inline int hyp_assign_phys(phys_addr_t addr, u64 size,
|
static inline int hyp_assign_phys(phys_addr_t addr, u64 size,
|
||||||
int *dest_vmids, int *dest_perms,
|
u32 *source_vmlist, int source_nelems,
|
||||||
int dest_nelems)
|
int *dest_vmids, int *dest_perms, int dest_nelems)
|
||||||
{
|
{
|
||||||
return -ENOSYS;
|
return -ENOSYS;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue