syscall.sh / microblaze / exit

exit

terminate the calling thread

sys_exit(int error_code)
number1 (0x1)
abicommon
entry pointsys_exit
sinceLinux 5.0
man pageexit(2)
sourceelixir.bootlin.com

Registers

registervalue
r121, the syscall number
r5int error_code
r3the return value

Then run brki r14,8 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/microblaze/exit