函数逻辑报告 |
Source Code:arch\x86\kernel\amd_gart_64.c |
Create Date:2022-07-27 09:51:59 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:gart_iommu_init
函数原型:int __init gart_iommu_init(void)
返回类型:int
参数:无
716 | 如果非amd_nb_has_feature(AMD_NB_GART)则返回:0 |
720 | no_agp等于1 |
734 | 打印警告信息("More than 4GB of memory but GART IOMMU not available.\n") |
735 | 打印警告信息("falling back to iommu=soft.\n") |
737 | 返回:0 |
743 | end_pfn等于aper_base右移PAGE_SHIFT determines the page size 位的值加aper_size右移PAGE_SHIFT determines the page size 位的值 |
746 | 如果非pfn_range_is_mapped(start_pfn, end_pfn)则init_memory_mapping(start_pfn << PAGE_SHIFT determines the page size , end_pfn << PAGE_SHIFT determines the page size ) |
749 | 打印信息("PCI-DMA: using GART IOMMU.\n") |
755 | 如果非Guarded by iommu_bitmap_lock: 则panic - halt the system*@fmt: The text string to print* Display a message, then perform cleanups.* This function never returns. |
758 | 打印信息("PCI-DMA: Reserving %luMB of IOMMU area in the AGP aperture\n", size of remapping area bytes >> 20) |
775 | set_memory_np((unsignedlong)__va(GART remapping area (physical) ), size of remapping area bytes >> PAGE_SHIFT determines the page size ) |
785 | wbinvd() |
793 | enable_gart_translations() |
801 | scratch等于get_zeroed_page(GFP_KERNEL) |
802 | 如果非scratch则panic - halt the system*@fmt: The text string to print* Display a message, then perform cleanups.* This function never returns. |
807 | dma_ops等于gart_dma_ops |
809 | swiotlb等于0 |
811 | 返回:0 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |