Function report | 
Source Code:arch\x86\kernel\early_printk.c | 
Create Date:2022-07-28 08:42:31 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:early_serial_hw_init
Proto:static __init void early_serial_hw_init(unsigned divisor)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| 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) | 
| Name | Describe | 
|---|---|
| early_serial_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  |