zyfeier commented on code in PR #19041:
URL: https://github.com/apache/nuttx/pull/19041#discussion_r3367072787
##########
arch/tricore/include/irq.h:
##########
@@ -314,41 +196,27 @@ static inline_function bool up_interrupt_context(void)
static inline_function uintptr_t up_getusrsp(void *regs)
{
- uintptr_t *csaregs = (uintptr_t *)regs;
+ uintptr_t *csa = regs;
Review Comment:
Using addr keeps xcp.regs consistent with other architectures, requiring
zero adaptation in the common.
--
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]