Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\check_signature.c Create Date:2022-07-28 06:49:02
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:heck_signature - find BIOS signatures*@io_addr: mmio address to check*@signature: signature block*@length: length of signature* Perform a signature comparison with the mmio address io_addr. This* address should have been obtained by ioremap.

Proto:int check_signature(const volatile void __iomem *io_addr, const unsigned char *signature, int length)

Type:int

Parameter:

TypeParameterName
const volatile void __iomem *io_addr
const unsigned char *signature
intlength
19  When length-- cycle
20  If readb(io_addr) != signature Then Return 0
22  io_addr++
23  signature++
25  Return 1