syscall.sh / xtensa / syslog

syslog

read and/or clear kernel message ring buffer; set console_loglevel

sys_syslog(int type, char *buf, int len)
number200 (0xc8)
abicommon
entry pointsys_syslog
sinceLinux 5.0
man pagesyslog(2)
sourceelixir.bootlin.com

Registers

registervalue
a2200, the syscall number
a6int type
a3char *buf
a4int len
a2the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/xtensa/syslog