Skip to content

Kernel messages

Andrey Antonenko edited this page Jun 2, 2020 · 2 revisions

System call subfunction numbers

0 - Create a message in the kernel message buffer

Note that this is a privileged system call. See Task management for details
nlib name: _km_write
Takes:
rsi (p0): pointer to a null-terminated string (filename). Must be no longer than 64 characters.
rdx (p1): pointer to a null-terminated string (message). Must be no longer than 256 characters.
Returns:
0 on success
1 if the task doesn't have kernel message buffer access privileges