Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libmetal: set ept address loop++ in bitmap #263

Merged
merged 1 commit into from
Oct 31, 2023
Merged

Commits on Oct 19, 2023

  1. libmetal: set ept address loop++ in 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 the issue, I give a resolve method,
    for the rpmsg_get_address(), always return a new increased num.
    
    Signed-off-by: Guiding Li <liguiding1@xiaomi.com>
    GUIDINGLI committed Oct 19, 2023
    Configuration menu
    Copy the full SHA
    fbf7c42 View commit details
    Browse the repository at this point in the history