this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

[kernel] Implement sig_restorer for ARM64. Throw error if missing assembly.

Thomas A b5013184 7abce5c0

+11 -2
+11 -2
src/kernel/emulation/linux/signal/sig_restorer.S
··· 4 4 5 5 #ifdef __x86_64__ 6 6 _sig_restorer: 7 - movl $15, %eax 7 + movl $15, %eax ; rt_sigreturn 8 8 syscall 9 9 10 10 #elif defined(__i386__) 11 11 12 12 _sig_restorer: 13 - movl $173, %eax 13 + movl $173, %eax ; rt_sigreturn 14 14 int $0x80 15 + 16 + #elif defined(__arm64__) 17 + _sig_restorer: 18 + mov w8,#139 ; __NR_rt_sigreturn 19 + svc #0 20 + 21 + #else 22 + #error "Missing assembly!" 23 + 15 24 #endif 16 25