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.
|pointer to data to write
|length of buffer
Return value #
Returns the amount of data written.
INVALID_PARAM: All or part of the range of bytes from
address + lengthis not mapped into the current task’s vspace.