Function report |
Source Code:arch\x86\kernel\mmconf-fam10h_64.c |
Create Date:2022-07-28 08:53:29 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:fam10h_check_enable_mmcfg
Proto:void fam10h_check_enable_mmcfg(void)
Type:void
Parameter:Nothing
175 | If Not (pci_probe & PCI_CHECK_ENABLE_AMD_MMCONF) Then Return |
178 | address = Fam 10h MSRs |
182 | If val & FAM10H_MMIO_CONF_ENABLE Then |
188 | If Not skip ACPI PCI scan and IRQ initialization || busnbits >= 8 Then |
189 | base = val & MMCONF_MASK |
191 | If Not fam10h_pci_mmconf_base Then |
192 | fam10h_pci_mmconf_base = base |
193 | Return |
194 | Else if fam10h_pci_mmconf_base == base Then Return |
204 | If Not fam10h_pci_mmconf_base Then |
205 | pci_probe &= ~PCI_CHECK_ENABLE_AMD_MMCONF |
206 | Return |
209 | printk(formational "Enable MMCONFIG on AMD Family 10h\n") |
210 | val &= ~( FAM10H_MMIO_CONF_BASE_MASK << FAM10H_MMIO_CONF_BASE_SHIFT | FAM10H_MMIO_CONF_BUSRANGE_MASK << FAM10H_MMIO_CONF_BUSRANGE_SHIFT ) |
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 |