Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:getchar_timeout

Proto:int getchar_timeout(void)

Type:int

Parameter:Nothing

119  cnt = 30
122  t0 = Read the CMOS clock through the BIOS, and return the* seconds in BCD.
124  When cnt cycle
125  If kbd_pending() Then Return Read from the keyboard
128  t1 = Read the CMOS clock through the BIOS, and return the* seconds in BCD.
129  If t0 != t1 Then
130  cnt--
131  t0 = t1
135  Return 0
Caller
NameDescribe
mode_menu