Function report |
Source Code:kernel\printk\printk.c |
Create Date:2022-07-28 10:06:47 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__add_preferred_console
Proto:static int __add_preferred_console(char *name, int idx, char *options, char *brl_options)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
char * | name | |
int | idx | |
char * | options | |
char * | brl_options |
2127 | When i < Array of consoles built from command line options (console=) && Name of the driver [0] cycle |
2130 | If strcmp( Name of the driver , name) == 0 && Minor dev. to use == idx Then |
2131 | If Not brl_options Then preferred_console = i |
2133 | Return 0 |
2136 | If i == Array of consoles built from command line options (console=) Then Return -E2BIG |
2138 | If Not brl_options Then preferred_console = i |
2141 | Options for the driver = options |
2142 | braille_set_options(c, brl_options) |
2144 | Minor dev. to use = idx |
2145 | Return 0 |
Name | Describe |
---|---|
console_setup | Set up a console. Called via do_early_param() in init/main.c* for each "console=" parameter in the boot command line. |
add_preferred_console | add_preferred_console - add a device to the list of preferred consoles.*@name: device name*@idx: device index*@options: options for this console* The last preferred console added will be used for kernel messages* and stdin/out/err for init |
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 |