函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\aperture_64.c Create Date:2022-07-27 09:52:28
Last Modify:2020-03-17 10:38:51 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:With kexec/kdump, if the first kernel doesn't shut down the GART and the* second kernel allocates a different GART region, there might be two* overlapping GART regions present:* - the first still used by the GART initialized in the first kernel.

函数原型:void __init early_gart_iommu_check(void)

返回类型:void

参数:

292  agp_aper_order等于0
293  valid_agp等于0
295  aper_size等于0, aper_order等于0, last_aper_order等于0
296  aper_base等于0, last_aper_base等于0
297  aper_enabled等于0, last_aper_enabled等于0, last_valid等于0
299  如果非amd_gart_present()则返回
302  如果非early_pci_allowed()则返回
306  Look for an AGP bridge
308  fix等于0
309 dev_limit循环
313  bus等于bus
314  dev_base等于dev_base
315  dev_limit等于dev_limit
317 slot小于dev_limit循环
323  aper_order等于ctl右移1位按位与7
324  aper_size等于32乘1024乘1024左移aper_order
326  aper_base左移等于25位
328  如果last_valid
332  fix等于1
333  退出
340  last_valid等于1
344  如果非fix且非aper_enabled则返回
347  如果非aper_base或非aper_sizeaper_baseaper_size大于0x100000000UL则fix等于1
350  如果gart_fix_e820且非fixaper_enabled
354  打印信息("e820: reserve [mem %#010Lx-%#010Lx] for GART\n", aper_base, aper_base + aper_size - 1)
361  如果valid_agp则返回
365 i小于dev_limit循环
369  bus等于bus
370  dev_base等于dev_base
371  dev_limit等于dev_limit
373 slot小于dev_limit循环