Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\mpparse.c Create Date:2022-07-28 08:25:40
Last Modify:2020-03-16 21:44:10 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Checksum an MP configuration block.

Proto:static int __init mpf_checksum(unsigned char *mp, int len)

Type:int

Parameter:

TypeParameterName
unsigned char *mp
intlen
40  sum = 0
42  When len-- cycle
43  sum += mp++
45  Return sum & 0xFF
Caller
NameDescribe
smp_check_mpcRead/parse the MPC
smp_scan_config
replace_intsrc_all
update_mp_table