Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:empty_8042

Proto:static int empty_8042(void)

Type:int

Parameter:Nothing

22  loops = MAX_8042_LOOPS
23  ffs = MAX_8042_FF
25  When loops-- cycle
26  io_delay()
28  status = inb(0x64)
29  If status == 0xff Then
31  If Not --ffs Then Return -1
34  If status & 1 Then
36  io_delay()
37  inb(0x60)
38  Else if Not (status & 2) Then
40  Return 0
44  Return -1
Caller
NameDescribe
enable_a20_kbc
enable_a20