zhangyu-duck opened a new pull request, #21512:
URL: https://github.com/apache/nuttx/pull/21512

   Depends on #21511 (which depends on #21509 and #21510). Please review the 
last six commits only.
   
   ## Summary
   
   Support per-task CSA chains in TriCore task stacks. Switch between task and 
interrupt CSA contexts on exception entry and return, preserve the required 
FCX/LCX reserves, and support task stack overflow handling.
   
   Align saved user contexts and `g_last_regs` with the TriCore upper/lower CSA 
layout, make `tcb->xcp.regs` point to the upper CSA, and fix FPU context 
comparison for the per-task CSA layout.
   
   ## Impact
   
   TriCore tasks now keep their CSA chains in their own stacks instead of 
relying only on the global CSA pool. Context save/restore, stack frame 
allocation, stack overflow handling, and FPU context comparison are updated 
accordingly.
   
   This changes the TriCore context management implementation without changing 
application interfaces.
   
   ## Testing
   
   Host: Ubuntu Linux, x86_64.
   
   - TriBoard TC4X9 COM (`triboard_tc4x9_com:nsh`), GNU toolchain: `ostest` 
passed.
   - TriBoard TC4X9 COM (`triboard_tc4x9_com:nsh`), TASKING SmartCode 
toolchain: `ostest` passed.
   - A2G TC397 5V TFT (`a2g-tc397-5v-tft:nsh`), GNU toolchain: `ostest` passed.
   - A2G TC397 5V TFT (`a2g-tc397-5v-tft:nsh`), TASKING VX toolchain: `ostest` 
passed
   
   After rebasing onto the current boot series and correcting two comment 
spelling errors:
   
   - `tools/checkpatch.sh -c -u -m -g master..HEAD`: passed.
   - `git diff --check master..HEAD`: passed.
   


-- 
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]

Reply via email to