-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
{bp-13585} riscv: use g_running_task store current regs #13788
Conversation
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 <[email protected]>
[Experimental Bot, please feedback here] No, this PR does not fully meet the NuttX requirements. Missing Information:
Recommendations:
By providing this missing information, your PR will be more understandable, reviewable, and likely to be merged quickly. |
There are strange errors reported by CI |
https://github.com/apache/nuttx/actions/runs/11142136706/job/30964518546?pr=13788
I think GPIO_INTERRUPT_PIN_WAKEUP comes from this newer PR: #13675 Which is referenced by the newer |
Summary
This commit fixes the regression from #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.
Impact
RELEASE
Testing
CI