diff options
author | Vamsi Krishna <vgattupa@codeaurora.org> | 2021-09-07 12:37:39 +0000 |
---|---|---|
committer | Vamsi Krishna <vgattupa@codeaurora.org> | 2021-09-07 12:37:39 +0000 |
commit | 4300c3a42aee3f9591a53026e2447b32f9859f4d (patch) | |
tree | 223e3acd8b2dc66484782be33211e90a1a66fd60 | |
parent | 08a961cdc5028bb7d66800ad45cf05883bdc9535 (diff) | |
parent | 5441a5be1ae11a0a34a0f77f59e97e249b2b5872 (diff) |
[automerger] ADSPRPC: Pass 64 bit va buffer to remote_mmap64 from remote_mmap am: 5441a5be1a
Change-Id: I0166ec8106d25296db240e86f93b52ffc23cc1b8
-rw-r--r-- | src/fastrpc_apps_user.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/fastrpc_apps_user.c b/src/fastrpc_apps_user.c index 7d159cf..b3f12d0 100644 --- a/src/fastrpc_apps_user.c +++ b/src/fastrpc_apps_user.c @@ -1230,7 +1230,12 @@ bail: } int remote_mmap(int fd, uint32_t flags, uint32_t vaddrin, int size, uint32_t* vaddrout) { - return remote_mmap64(fd, flags, (uintptr_t)vaddrin, (int64_t)size, (uint64_t*)vaddrout); + uint64_t vaddrout_64; + int nErr = 0; + + nErr = remote_mmap64(fd, flags, (uintptr_t)vaddrin, (int64_t)size, &vaddrout_64); + *vaddrout = (uint32_t)vaddrout_64; + return nErr; } int remote_munmap64(uint64_t vaddrout, int64_t size) { |