函数逻辑报告 |
Source Code:arch\x86\kernel\early_printk.c |
Create Date:2022-07-27 09:41:42 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:early_serial_hw_init
函数原型:static __init void early_serial_hw_init(unsigned divisor)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned | divisor |
137 | serial_out(yS0 , Line control , 0x3) |
138 | serial_out(yS0 , Interrupt Enable , 0) |
139 | serial_out(yS0 , FIFO control , 0) |
140 | serial_out(yS0 , Modem control , 0x3) |
142 | c等于serial_in(yS0 , Line control ) |
143 | serial_out(yS0 , Line control , c | DLAB) |
144 | serial_out(yS0 , Divisor Latch Low , divisor & 0xff) |
145 | serial_out(yS0 , Divisor latch High , (divisor >> 8) & 0xff) |
146 | serial_out(yS0 , Line control , c & ~DLAB) |
名称 | 描述 |
---|---|
early_serial_init | 串口初始化 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |