Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rpmsg: set ept address to incease num when alloc from the bitmap
CPU0 CPU1 create_ept1:addr1 create_ept1 OK <====== msg1 OK <====== msg2 OK <====== msg3 msg4 <====== msg4 on the virtioqueue close_ept1 close_ept1 create_ept2:addr1 create_ept1 (same addr with ept1) msg4 ept2 recv ept1 msg ERROR <====== The msg4 which belong to ep1, error received by ept2. For this issue, I give a resolve method: Let the rpmsg_get_address() always return a new increased num. Signed-off-by: Guiding Li <liguiding1@xiaomi.com>
- Loading branch information