Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\include\asm\gart.h Create Date:2022-07-28 07:39:34
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:aperture_valid

Proto:static inline int aperture_valid(u64 aper_base, unsigned int aper_size, unsigned int min_size)

Type:int

Parameter:

TypeParameterName
u64aper_base
unsigned intaper_size
unsigned intmin_size
94  If Not aper_base Then Return 0
97  If aper_base + aper_size > 0x100000000ULL Then
98  printk(formational "Aperture beyond 4GB. Ignoring.\n")
99  Return 0
101  If e820__mapped_any(aper_base, aper_base + aper_size, E820_TYPE_RAM) Then
102  printk(formational "Aperture pointing to e820 RAM. Ignoring.\n")
103  Return 0
105  If aper_size < min_size Then
106  printk(formational "Aperture too small (%d MB) than (%d MB)\n", aper_size >> 20, min_size >> 20)
108  Return 0
111  Return 1
Caller
NameDescribe
read_agpRead a standard AGPv3 bridge header
gart_iommu_hole_init