zhangyu-duck opened a new pull request, #21150: URL: https://github.com/apache/nuttx/pull/21150
*Note: Please adhere to [Contributing Guidelines](https://github.com/apache/nuttx/blob/master/CONTRIBUTING.md).* ## Summary TriCore trap handling preparation, independent of iLLD: - use 'ji' instead of 'call' to enter the svcall handler, saving one CSA per svcall - return from trapcall by jump, since it is now entered by jump - add a bus error hook so that safety bus tests can handle the expected bus error trap ## Impact TriCore architecture only (arch/tricore). No impact on other architectures. ## Testing Built triboard_tc4x9_com:nsh (TC4xx) and a2g-tc397-5v-tft:nsh (TC3xx) with tricore-elf-gcc on Ubuntu host (TC3xx with both make and cmake), each commit passes checkpatch. Tested on both TC3xx (TC397) and TC4xx (TC4x9) boards: system boots normally, ostest passes, svcall/context switch and trap cases work as expected. ``` nsh> uname -a NuttX 13.1.0 4017f750e76 Oct 30 2026 10:21:39 tricore a2g-tc397-5v-tft nsh> ostest ... ostest_main: Exiting with status 0 ``` -- 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]
