syscall.sh / microblaze / write

write

write to a file descriptor

sys_write(unsigned int fd, const char *buf, size_t count)
number4 (0x4)
abicommon
entry pointsys_write
sinceLinux 5.0
man pagewrite(2)
sourceelixir.bootlin.com

Registers

registervalue
r124, the syscall number
r5unsigned int fd
r6const char *buf
r7size_t count
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/write