函数逻辑报告 |
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 |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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()则返回 |
308 | fix等于0 |
321 | ctl等于Direct PCI access. This is used for PCI accesses in early boot beforethe PCI subsystem works. |
323 | aper_order等于ctl右移1位按位与7 |
324 | aper_size等于32乘1024乘1024左移aper_order位 |
325 | aper_base等于Direct PCI access. This is used for PCI accesses in early boot beforethe PCI subsystem works. 按位与0x7fff |
326 | aper_base左移等于25位 |
328 | 如果last_valid则 |
338 | last_aper_base等于aper_base |
340 | last_valid等于1 |
344 | 如果非fix且非aper_enabled则返回 |
350 | 如果gart_fix_e820且非fix且aper_enabled则 |
351 | 如果e820__mapped_any(aper_base, aper_base + aper_size, E820_TYPE_RAM)则 |
357 | e820__update_table_print() |
361 | 如果valid_agp则返回 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |