函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\boot\a20.c Create Date:2022-07-27 08:25:34
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:a20_test

函数原型:static int a20_test(int loops)

返回类型:int

参数:

类型参数名称
intloops
56  ok等于0
59  设置寄存器值(fs)
60  设置寄存器值
62  saved等于ctr等于从地址读四字节
64 loops自减循环
65  写四字节到地址
66  IO延迟
67  ok等于从地址读四字节按位异或ctr
68  如果ok退出
72  写四字节到地址
73  返回:ok
调用者
名称描述
a20_test_shortQuick test to see if A20 is already enabled
a20_test_longLonger test that actually waits for A20 to come on line; thisis useful when dealing with the KBC or other slow external circuitry.