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

riscv: use g_running_task store current regs #13585

Merged
merged 1 commit into from
Sep 27, 2024

Commits on Sep 27, 2024

  1. riscv: use g_running_task store current regs

    This commit fixes the regression from apache#13561
    
    In order to determine whether a context switch has occurred,
    we can use g_running_task to store the current regs.
    This allows us to compare the current register state with the previously
    stored state to identify if a context switch has taken place.
    
    Signed-off-by: hujun5 <hujun5@xiaomi.com>
    hujun260 committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    f84407f View commit details
    Browse the repository at this point in the history