Function report |
Source Code:arch\x86\kernel\early-quirks.c |
Create Date:2022-07-28 08:21:05 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:fix_hypertransport_config
Proto:static void __init fix_hypertransport_config(int num, int slot, int func)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| 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 | If htcfg & 1 << 18 Then |
| 42 | printk(formational "Detected use of extended apic ids on hypertransport bus\n") |
| 44 | If (htcfg & 1 << 17 ) == 0 Then |
| 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) |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |