函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\amd_nb.c Create Date:2022-07-27 09:42:55
Last Modify:2020-03-16 21:36:56 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Ignores subdevice/subvendor but as far as I can figure out* they're useless anyways

函数原型:bool __init early_is_amd_nb(unsigned int device)

返回类型:bool

参数:

类型参数名称
unsigned intdevice
329  misc_ids等于amd_nb_misc_ids
331  vendor等于device按位与0xffff
333  如果x86_vendor不等于X86_VENDOR_AMDx86_vendor不等于X86_VENDOR_HYGON则返回:false
337  如果x86_vendor恒等于X86_VENDOR_HYGONmisc_ids等于hygon_nb_misc_ids
340  device右移等于16位
341 vendor循环如果vendor恒等于vendordevice恒等于Vendor and device ID or PCI_ANY_ID
343  返回:true
344  返回:false
调用者
名称描述
early_gart_iommu_checkWith 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.
gart_iommu_hole_init