33a34
> #include "arch/riscv/utility.hh"
189a191,201
>
> static void
> archClone(uint64_t flags,
> Process *pp, Process *cp,
> ThreadContext *ptc, ThreadContext *ctc,
> uint64_t stack, uint64_t tls)
> {
> RiscvISA::copyRegs(ptc, ctc);
> if (stack)
> ctc->setIntReg(RiscvISA::StackPointerReg, stack);
> }