hujun260 opened a new pull request, #14865:
URL: https://github.com/apache/nuttx/pull/14865
## Summary
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.
## Impact
arm arch
## Testing
ostest
qemu
qemu-armv7a:smp
mps2-an500:nsh
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]