Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\early_printk.c Create Date:2022-07-28 08:42:30
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:early_serial_putc

Proto:static int early_serial_putc(unsigned char ch)

Type:int

Parameter:

TypeParameterName
unsigned charch
115  timeout = 0xffff
117  When (serial_in(yS0 , Line Status ) & XMTRDY) == 0 && --timeout cycle
118  cpu_relax()
119  serial_out(yS0 , Transmit register (WRITE) , ch)
120  Return If timeout Then 0 Else -1
Caller
NameDescribe
early_serial_write