SN_SAL_CONSOLE_WRITE

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

sn_sal_console_write - Print statements before serial core available  

SYNOPSIS

"SYNOPSIS"

void sn_sal_console_write (struct console * co, const char * s, unsigned count);  

ARGUMENTS

co
-- undescribed --
s
String to send
count
length
 

DESCRIPTION

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.

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.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 00:02:49 GMT, October 09, 2005