函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:probe_roms

函数原型:void __init probe_roms(void)

返回类型:void

参数:

206  upper等于start
207 start小于upper循环
208  rom等于isa_bus_to_virt(start)
209  如果非romsignature(rom)则继续下一循环
212  start等于start
214  如果probe_kernel_address(): safely attempt to read from a location*@addr: address to read from*@retval: read into this variable* Returns 0 on success, or -EFAULT.(rom + 2, c)不等于0则继续下一循环
218  length等于c乘512
221  如果lengthromchecksum(rom, length)则end等于startlength减1
224  request_resource( & iomem_resource, & video_rom_resource)
225  退出
228  start等于end加1加2047按位与2047UL的反
229  如果start小于upperstart等于upper
233  request_resource( & iomem_resource, & system_rom_resource)
234  upper等于start
237  rom等于isa_bus_to_virt(start)
238  如果romsignature(rom)则
239  length等于resource_size( & extension_rom_resource)
240  如果romchecksum(rom, length)则
242  upper等于start
247 i小于ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized(adapter_rom_resources)且start小于upper循环
248  rom等于isa_bus_to_virt(start)
249  如果非romsignature(rom)则继续下一循环
252  如果probe_kernel_address(): safely attempt to read from a location*@addr: address to read from*@retval: read into this variable* Returns 0 on success, or -EFAULT.(rom + 2, c)不等于0则继续下一循环
256  length等于c乘512
259  如果非lengthstartlength大于upper或非romchecksum(rom, length)则继续下一循环
262  start等于start
263  end等于startlength减1
264  request_resource( & iomem_resource, & adapter_rom_resources[i])
266  start等于end按位与2047UL的反