c0787f28468755ee714eb9c30e0295c3be79b5a3

In current code fastrpc_file_free and bus driver invoke call are in parallel, we would see corruption as both try to access fastrpc_mmap list. To resolve this issue added signaling mechanism between fastrpc_file_free and bus driver invoke call. If bus driver invoke call is running in parallel with fastrpc_file_free, it would wait until the invoke call is completed. Also added locks in bus driver API to protect fastrpc_mmap's. To improve code readablity created separate API for bus driver map and unmap. Change-Id: I5fd6f331febdecb319b168b36590a73e4532038a Signed-off-by: Anirudh Raghavendra <quic_araghave@quicinc.com>
Description
No description provided
Languages
C
98.7%
C++
0.9%
Makefile
0.3%
Starlark
0.1%