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:28
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:enable_a20

Proto:int enable_a20(void)

Type:int

Parameter:Nothing

130  loops = Number of times to try
133  When loops-- cycle
136  If Quick test to see if A20 is already enabled Then Return 0
140  enable_a20_bios()
141  If Quick test to see if A20 is already enabled Then Return 0
145  kbc_err = empty_8042()
147  If Quick test to see if A20 is already enabled Then Return 0
150  If Not kbc_err Then
151  enable_a20_kbc()
157  enable_a20_fast()
158  If Longer test that actually waits for A20 to come on line; thisis useful when dealing with the KBC or other slow external circuitry. Then Return 0
162  Return -1
Caller
NameDescribe
go_to_protected_modeActual invocation sequence