[roll] Roll fuchsia [kernel] Add zx_thread_start_regs system call

This is an evolution of zx_thread_start that simply takes two
more initial register values for the thread.  By allowing the
thread pointer and shadow call stack pointer to be initialized
directly, userland thread startup can go directly into the C++
ABI without a startup race window full of corner cases.

The new system call is introduced alongside zx_thread_start, but
will eventually just replace zx_thread_start and go back to that
name.  To this end, C++ and other wrappers won't use the new
"start_regs" name at all, but will make their APIs like
zx::thread::start take optional arguments defaulted to zero when
targeting an API level where zx_thread_start_regs is available.

Original-Bug: 478347581
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1484916
Original-Revision: 0e07d1b4b1146a8bbec9a27103b286d8e0997ed3
GitOrigin-RevId: 04dc47481984412f88e8c53907ea18e567c89541
Change-Id: Ic23dc77d414459e21bba8073bfeb3e1cd051aeab
1 file changed
tree: 5604751daa781e8eb4281f7e707d51f54f35572a
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. flower
  6. jiri.lock
  7. MILESTONE
  8. minimal
  9. prebuilts
  10. README.md
  11. stem
  12. test_durations
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance in one of the communication channels documented at get involved.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.