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

   ## Summary
   
   Add vfork support for TriCore.
   
   - Save and copy the parent task context for the child task.
   - Copy the used stack and relocate context links and stack pointers.
   - Enable vfork in the TriCore build configuration.
   
   ## Impact
   
   TriCore vfork support only. Fork with an independent address environment is 
not added by this change.
   
   ## Testing
   
   - Build: `a2g-tc397-5v-tft:nsh` with GNU toolchain: pass
   - Test: AURIX TC397 V2.0, `hello` and full `ostest`: pass
   
   ```text
   Hello, World!! FORK-TC3-1116B
   vfork_test: Child 7 ran and exited before the parent resumed
   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]

Reply via email to