Function report | 
Source Code:kernel\printk\printk.c | 
Create Date:2022-07-28 10:06:49 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Set up a console. Called via do_early_param() in init/main.c* for each "console=" parameter in the boot command line.
Proto:static int __init console_setup(char *str)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| char * | str | 
| 2165 | char * s, * options, * brl_options = NULL | 
| 2168 | If _braille_console_setup( & str, & brl_options) Then Return 1 | 
| 2177 | Else | 
| 2181 | options = strchr - Find the first occurrence of the character c in the string s.*@s: the string to be searched*@c: the character to search for | 
| 2192 | Break | 
| 2194 | s = 0 | 
| 2196 | __add_preferred_console(buf, idx, options, brl_options) | 
| 2197 | console_set_on_cmdline = 1 | 
| 2198 | Return 1 | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |