writecons #

Property Details
Name SYS_writecons
Syscall number 0

The writecons syscall writes bytes to the kernel console, which is generally a serial console or VGA console. The provided data must consist only of ASCII characters.

Arguments #

Register Name Type Description
arg1 address uintptr pointer to data to write
arg2 length size length of buffer

Return value #

Returns the amount of data written.

Errors #

  • INVALID_PARAM: All or part of the range of bytes from address to address + length is not mapped into the current task’s vspace.