函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\check_signature.c Create Date:2022-07-27 07:46:41
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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.

函数原型:int check_signature(const volatile void __iomem *io_addr, const unsigned char *signature, int length)

返回类型:int

参数:

类型参数名称
const volatile void __iomem *io_addr
const unsigned char *signature
intlength
19 length自减循环
20  如果readb(io_addr)不等于signature则返回:0
22  io_addr自加
23  signature自加
25  返回:1