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

   ## Summary
   
   Unify the TriCore trap and interrupt vector implementation across GCC and 
TASKING.
   
   - Move trap declarations into a shared header for use by other C files,
     and clean up comments and formatting.
   - Let users register the FCU CSA storage location instead of defining a
     fixed array in the trap implementation.
   - Record trap information without relying on the memory layout of the
     trap structure.
   - Simplify trap-flow handling in the common trap entry with switch-case.
   - One symbol for all cores
   
   ## Impact
   
   TriCore TC3xx and TC4xx trap and interrupt handling only.
   
   TASKING builds require C preprocessing for the vector assembly sources.
   
   ## Testing
   
   - Build: TC3xx TASKING: pass.
   - Build: TC4xx TASKING: pass.
   - Board test: TC4xx GCC, null-pointer write through `hello`: correct
     Internal Protection Error trap and null-address information.
   
   ```text
   tricore_trap_alert: PANIC!!! Internal Protection Error Trap:
   tricore_trap_alert:     class 1 TID: 6
   tricore_trap_alert:     Memory Protection Null Address
   tricore_dump_trapctrl: DSTR:00080000      DEADD:00000000
   ```
   


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