函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\include\asm\gart.h Create Date:2022-07-27 08:39:13
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:aperture_valid

函数原型:static inline int aperture_valid(u64 aper_base, unsigned int aper_size, unsigned int min_size)

返回类型:int

参数:

类型参数名称
u64aper_base
unsigned intaper_size
unsigned intmin_size
94  如果非aper_base则返回:0
97  如果aper_baseaper_size大于0x100000000ULL则
98  printk(formational "Aperture beyond 4GB. Ignoring.\n")
99  返回:0
101  如果e820__mapped_any(aper_base, aper_base + aper_size, E820_TYPE_RAM)则
102  printk(formational "Aperture pointing to e820 RAM. Ignoring.\n")
103  返回:0
105  如果aper_size小于min_size
106  printk(formational "Aperture too small (%d MB) than (%d MB)\n", aper_size >> 20, min_size >> 20)
108  返回:0
111  返回:1
调用者
名称描述
read_agpRead a standard AGPv3 bridge header
gart_iommu_hole_init