.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "SN_SAL_CONSOLE_WRITE" "9" "09 October 2005" "" "" .SH NAME sn_sal_console_write \- Print statements before serial core available .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp void sn_sal_console_write (struct console * \fIco\fB, const char * \fIs\fB, unsigned \fIcount\fB); \fR .SH "ARGUMENTS" .TP \fB\fIco\fB\fR -- undescribed -- .TP \fB\fIs\fB\fR String to send .TP \fB\fIcount\fB\fR length .SH "DESCRIPTION" .PP This is referenced in the console struct. It is used for early console printing before we register with serial core and for things such as kdb. The console_lock must be held when we get here. .PP This function has some code for trying to print output even if the lock is held. We try to cover the case where a lock holder could have died. We don't use this special case code if we're not registered with serial core yet. After we're registered with serial core, the only time this function would be used is for high level kernel output like magic sys req, kdb, and printk's.