mirror of
https://github.com/drasko/codezero.git
synced 2026-02-07 15:33:16 +01:00
Child needs rewound function stack in order to reach registers r9-r12 that have original userspace values. But we jump to return_from_syscall without rewinding the stack. Therefore to ease context restore, we save r9-r12 on the stack as well upon syscall entry.
1.7 KiB
1.7 KiB