函数逻辑报告 |
Source Code:kernel\printk\printk.c |
Create Date:2022-07-27 11:06:54 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:__add_preferred_console
函数原型:static int __add_preferred_console(char *name, int idx, char *options, char *brl_options)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| char * | name | |
| int | idx | |
| char * | options | |
| char * | brl_options |
| 2130 | 如果字符串比较恒等于0且 Minor dev. to use 恒等于idx则 |
| 2131 | 如果非brl_options则preferred_console等于i |
| 2133 | 返回:0 |
| 2138 | 如果非brl_options则preferred_console等于i |
| 2140 | 长字符串复制 |
| 2141 | Options for the driver 等于options |
| 2142 | braille_set_options(c, brl_options) |
| 2144 | Minor dev. to use 等于idx |
| 2145 | 返回:0 |
| 名称 | 描述 |
|---|---|
| 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 |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |