uint64_t stack, uint64_t tls)
{
ArmISA::copyRegs(ptc, ctc);
-
- if (stack)
- ctc->setIntReg(TheISA::StackPointerReg, stack);
}
};
int32_t tms_cutime; //!< user time of children
int32_t tms_cstime; //!< system time of children
};
+
+ static void
+ archClone(uint64_t flags,
+ Process *pp, Process *cp,
+ ThreadContext *ptc, ThreadContext *ctc,
+ uint64_t stack, uint64_t tls)
+ {
+ ArmLinux::archClone(flags, pp, cp, ptc, ctc, stack, tls);
+
+ if (stack)
+ ctc->setIntReg(ArmISA::INTREG_SP, stack);
+ }
};
class ArmLinux64 : public ArmLinux
int64_t tms_cutime; //!< user time of children
int64_t tms_cstime; //!< system time of children
};
+
+ static void archClone(uint64_t flags,
+ Process *pp, Process *cp,
+ ThreadContext *ptc, ThreadContext *ctc,
+ uint64_t stack, uint64_t tls)
+ {
+ ArmLinux::archClone(flags, pp, cp, ptc, ctc, stack, tls);
+
+ if (stack)
+ ctc->setIntReg(ArmISA::INTREG_SP0, stack);
+ }
};
#endif