函数逻辑报告 |
Source Code:arch\x86\kernel\amd_gart_64.c |
Create Date:2022-07-27 09:51:54 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Private Northbridge GATT initialization in case we cannot use the* AGP driver for some reason.
函数原型:static __init int init_amd_gatt(struct agp_kern_info *info)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct agp_kern_info * | info |
| 623 | 打印信息("PCI-DMA: Disabling AGP.\n") |
| 626 | dev = NULL |
| 627 | 以i小于amd_nb_num()循环 |
| 629 | new_aper_base等于read_aperture(dev, & new_aper_size) |
| 630 | 如果非new_aper_base则转到:nommu |
| 633 | 如果非aper_base则 |
| 634 | aper_size等于new_aper_size |
| 635 | aper_base等于new_aper_base |
| 637 | 如果aper_size不等于new_aper_size或aper_base不等于new_aper_base则转到:nommu |
| 649 | 如果非gatt则panic - halt the system*@fmt: The text string to print* Display a message, then perform cleanups.* This function never returns. |
| 654 | agp_gatt_table等于gatt |
| 656 | register_syscore_ops( & gart_syscore_ops) |
| 663 | 返回:0 |
| 665 | nommu : |
| 667 | 打印警告信息("PCI-DMA: More than 4GB of RAM and no IOMMU - falling back to iommu=soft.\n") |
| 668 | 返回:负1 |
| 名称 | 描述 |
|---|---|
| gart_iommu_init |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |