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: g_current_regs is only used to determine if we are in irq, #13444

Merged
merged 4 commits into from
Sep 25, 2024

Commits on Sep 24, 2024

  1. arm: g_current_regs is only used to determine if we are in irq,

    with other functionalities removed.
    
    reason:
    by doing this we can reduce context switch time,
    When we exit from an interrupt handler, we directly use tcb->xcp.regs
    
    before
    size nuttx
       text    data     bss     dec     hex filename
     225920     409   30925  257254   3ece6 nuttx
    
    after
       text    data     bss     dec     hex filename
     225604     409   30925  256938   3ebaa nuttx
    
     szie change -316
    
    Signed-off-by: hujun5 <[email protected]>
    hujun260 committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    c794fd4 View commit details
    Browse the repository at this point in the history
  2. arm: tc32 nested interrupts are not supported

    Signed-off-by: hujun5 <[email protected]>
    hujun260 committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    daabac2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3bb6801 View commit details
    Browse the repository at this point in the history
  4. arm64: g_current_regs is only used to determine if we are in irq,

    with other functionalities removed.
    
    Signed-off-by: hujun5 <[email protected]>
    hujun260 committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    85a4770 View commit details
    Browse the repository at this point in the history