函数逻辑报告 |
Source Code:arch\x86\kernel\early-quirks.c |
Create Date:2022-07-27 09:20:58 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:fix_hypertransport_config
函数原型:static void __init fix_hypertransport_config(int num, int slot, int func)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| int | num | |
| int | slot | |
| int | func |
| 40 | htcfg等于Direct PCI access. This is used for PCI accesses in early boot beforethe PCI subsystem works. |
| 41 | 如果htcfg按位与1左移18位则 |
| 42 | printk(formational "Detected use of extended apic ids on hypertransport bus\n") |
| 44 | 如果htcfg按位与1左移17位的值恒等于0则 |
| 45 | printk(formational "Enabling hypertransport extended apic interrupt broadcast\n") |
| 47 | printk(formational "Note this is a bios bug, please contact your hw vendor\n") |
| 49 | htcfg或等于1左移17位 |
| 50 | write_pci_config(num, slot, func, 0x68, htcfg) |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |