André Hentschel nerv@dawncrow.de writes:
We need a scratch register to set PC at the end, this version uses LR
If it's not possible to restore all registers from user space then it doesn't make sense to implement this function. It will have to be done through NtSetContextThread and the server.