The seL4_TCB_CopyRegisters
provides an atomic copy of registers between two TCBs (and has a somewhat dated interface). It’s not clear in what circumstances this is necessary. This might help in situations where you want fork-like semantics without the address space copy, but there doesn’t seem to be any real justification.
The existence of this invocation does seem to have induced a bit of unnecessary complexity into the kernel.