pub fn boot_run_forked_child(
child_pid: ProcessId,
parent_pid: ProcessId,
parent_tid: ThreadId,
) -> boolExpand description
Run a forked child process inline from the parent’s wait loop.
Called from wait_process_with_options when in boot execution mode (no
preemptive scheduler). The child was created by fork() and is Ready but
has never been scheduled. This function:
- Saves and restores the parent’s boot return context (BOOT_RETURN globals)
- Saves and restores the parent’s BOOT_CURRENT PID/TID
- Handles swapgs rebalancing (we’re inside a syscall handler)
- Runs the child to completion via
enter_forked_child_returnable
Returns true if the child was run, false if not in boot context.