函数逻辑报告 |
Source Code:arch\x86\kernel\aperture_64.c |
Create Date:2022-07-27 09:52:18 |
Last Modify:2020-03-17 10:38:51 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:This code runs before the PCI subsystem is initialized, so justaccess the northbridge directly.
函数原型:static unsigned int __init allocate_aperture(void)
返回类型:unsigned int
参数:无
104 | 如果fallback_aper_order大于5则fallback_aper_order等于5 |
106 | aper_size等于32乘1024乘1024左移fallback_aper_order位 |
116 | 如果非addr则 |
117 | 打印错误信息("Cannot allocate aperture memory hole [mem %#010lx-%#010lx] (%uKB)\n", addr, addr + aper_size - 1, aper_size >> 10) |
119 | 返回:0 |
121 | 准备内存空间 |
122 | 打印信息("Mapping aperture over RAM [mem %#010lx-%#010lx] (%uKB)\n", addr, addr + aper_size - 1, aper_size >> 10) |
124 | register_nosave_region(addr >> PAGE_SHIFT determines the page size , (addr + aper_size) >> PAGE_SHIFT determines the page size ) |
127 | 返回:addr |
名称 | 描述 |
---|---|
gart_iommu_hole_init |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |