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

arm: remove up_set_current_regs/up_current_regs #14865

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Nov 21, 2024

  1. arm: remove up_set_current_regs/up_current_regs

    reason:
    up_set_current_regs initially had two functions:
    
    1: To mark the entry into an interrupt state.
    2: To record the context before an interrupt/exception. If we switch to
       a new task, we need to store the upcoming context regs by calling up_set_current_regs(regs).
    
    Currently, we record the context in other ways, so the second function is obsolete.
    Therefore, we need to rename up_set_current_regs to better reflect its actual meaning,
    which is solely to mark an interrupt.
    
    Signed-off-by: hujun5 <hujun5@xiaomi.com>
    hujun260 committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    970cc29 View commit details
    Browse the repository at this point in the history