1 1.124 riastrad # $NetBSD: files.x86,v 1.124 2022/09/24 11:05:18 riastradh Exp $ 2 1.1 fvdl 3 1.1 fvdl # options for MP configuration through the MP spec 4 1.100 pgoyette defflag opt_mpbios.h MPBIOS MPDEBUG MPBIOS_SCANPCI 5 1.100 pgoyette defparam opt_mpbios.h MPVERBOSE 6 1.1 fvdl 7 1.1 fvdl # MTRR support 8 1.1 fvdl defflag MTRR 9 1.1 fvdl 10 1.49 dyoung # Interrupt debug 11 1.49 dyoung defflag opt_intrdebug.h INTRDEBUG 12 1.49 dyoung 13 1.13 cube # PCI fixup options 14 1.13 cube defflag opt_pcifixup.h PCI_ADDR_FIXUP PCI_BUS_FIXUP 15 1.13 cube PCI_INTR_FIXUP PCI_INTR_FIXUP_FORCE 16 1.119 jdolecek defflag opt_pci.h NO_PCI_MSI_MSIX 17 1.13 cube 18 1.29 ad # To be able to test for NetBSD/xen in shared files 19 1.29 ad defflag opt_xen.h DO_NOT_DEFINE 20 1.29 ad 21 1.104 maxv # Option to have a static kernel memory layout 22 1.104 maxv defflag opt_kaslr.h NO_X86_ASLR 23 1.104 maxv 24 1.124 riastrad defflag opt_efi.h EFI_RUNTIME 25 1.124 riastrad 26 1.91 christos defflag SVS 27 1.91 christos 28 1.117 yamaguch defflag PCPU_IDT 29 1.117 yamaguch 30 1.11 drochner define cpubus { [apid = -1] } 31 1.58 jmcneill define cpufeaturebus {} 32 1.24 drochner define ioapicbus { [apid = -1] } 33 1.1 fvdl 34 1.89 maxv # BIOS32 routines 35 1.121 jmcneill define bios32: smbios 36 1.89 maxv file arch/x86/x86/bios32.c bios32 needs-flag 37 1.89 maxv 38 1.32 xtraeme # 39 1.60 jruoho # CPU features 40 1.32 xtraeme # 41 1.58 jmcneill device cpu: cpufeaturebus 42 1.32 xtraeme attach cpu at cpubus 43 1.110 bouyer file arch/x86/x86/cpu.c cpu & !xenpv 44 1.110 bouyer file arch/x86/x86/cpu_rng.c cpu | vcpu 45 1.32 xtraeme 46 1.83 uebayasi device acpicpu: acpi 47 1.63 jruoho attach acpicpu at cpufeaturebus 48 1.83 uebayasi file dev/acpi/acpi_cpu.c acpicpu 49 1.83 uebayasi file dev/acpi/acpi_cpu_cstate.c acpicpu 50 1.83 uebayasi file dev/acpi/acpi_cpu_pstate.c acpicpu 51 1.83 uebayasi file dev/acpi/acpi_cpu_tstate.c acpicpu 52 1.83 uebayasi file arch/x86/acpi/acpi_cpu_md.c acpicpu 53 1.63 jruoho 54 1.61 jruoho device coretemp: sysmon_envsys 55 1.61 jruoho attach coretemp at cpufeaturebus 56 1.61 jruoho file arch/x86/x86/coretemp.c coretemp 57 1.61 jruoho 58 1.60 jruoho device est 59 1.60 jruoho attach est at cpufeaturebus 60 1.60 jruoho file arch/x86/x86/est.c est 61 1.60 jruoho file arch/x86/x86/intel_busclock.c est 62 1.60 jruoho 63 1.64 jruoho device odcm 64 1.64 jruoho attach odcm at cpufeaturebus 65 1.64 jruoho file arch/x86/x86/odcm.c odcm 66 1.64 jruoho 67 1.113 riastrad device padlock: opencrypto, aes 68 1.58 jmcneill attach padlock at cpufeaturebus 69 1.58 jmcneill file arch/x86/x86/via_padlock.c padlock 70 1.58 jmcneill 71 1.61 jruoho device powernow 72 1.61 jruoho attach powernow at cpufeaturebus 73 1.61 jruoho file arch/x86/x86/powernow.c powernow 74 1.61 jruoho 75 1.62 jruoho device viac7temp: sysmon_envsys 76 1.62 jruoho attach viac7temp at cpufeaturebus 77 1.62 jruoho file arch/x86/x86/viac7temp.c viac7temp 78 1.62 jruoho 79 1.73 jmcneill attach vmt at cpufeaturebus 80 1.73 jmcneill file arch/x86/x86/vmt.c vmt 81 1.73 jmcneill 82 1.107 nonaka device hyperv 83 1.107 nonaka attach hyperv at cpufeaturebus 84 1.107 nonaka file arch/x86/x86/hyperv.c hyperv needs-flag 85 1.107 nonaka 86 1.1 fvdl file arch/x86/x86/apic.c ioapic | lapic 87 1.82 uebayasi file arch/x86/x86/bus_dma.c machdep 88 1.82 uebayasi file arch/x86/x86/bus_space.c machdep 89 1.110 bouyer file arch/x86/x86/consinit.c machdep & !xenpv 90 1.47 rmind file arch/x86/x86/core_machdep.c coredump 91 1.82 uebayasi file arch/x86/x86/cpu_topology.c machdep 92 1.78 jym file arch/x86/x86/db_memrw.c ddb | kgdb 93 1.67 christos file arch/x86/x86/db_trace.c ddb 94 1.123 riastrad file arch/x86/x86/efi_machdep.c machdep 95 1.82 uebayasi file arch/x86/x86/errata.c machdep 96 1.82 uebayasi file arch/x86/x86/genfb_machdep.c machdep 97 1.82 uebayasi file arch/x86/x86/identcpu.c machdep 98 1.108 msaitoh file arch/x86/x86/identcpu_subr.c machdep 99 1.110 bouyer file arch/x86/x86/i8259.c machdep & (!xenpv | dom0ops) 100 1.110 bouyer file arch/x86/x86/intr.c machdep & !xenpv 101 1.110 bouyer file arch/x86/x86/x86_softintr.c machdep 102 1.90 maxv file arch/x86/x86/kgdb_machdep.c kgdb 103 1.82 uebayasi file arch/x86/x86/nmi.c machdep 104 1.82 uebayasi file arch/x86/x86/idt.c machdep 105 1.111 bouyer file arch/x86/x86/ipi.c machdep & !xenpv 106 1.110 bouyer file arch/x86/x86/mtrr_i686.c mtrr & !xenpv 107 1.110 bouyer file arch/x86/x86/patch.c machdep & !xenpv 108 1.122 jmcneill file dev/smbios_platform.c machdep 109 1.82 uebayasi file arch/x86/x86/pmap.c machdep 110 1.92 jdolecek file arch/x86/x86/x86_tlb.c machdep 111 1.55 rmind file arch/x86/x86/procfs_machdep.c procfs 112 1.93 maxv file arch/x86/x86/svs.c machdep & svs 113 1.82 uebayasi file arch/x86/x86/sys_machdep.c machdep 114 1.82 uebayasi file arch/x86/x86/syscall.c machdep 115 1.82 uebayasi file arch/x86/x86/tsc.c machdep 116 1.82 uebayasi file arch/x86/x86/vm_machdep.c machdep 117 1.110 bouyer file arch/x86/x86/x86_autoconf.c machdep & !xenpv 118 1.82 uebayasi file arch/x86/x86/x86_userconf.c userconf 119 1.82 uebayasi file arch/x86/x86/x86_machdep.c machdep 120 1.1 fvdl 121 1.85 skrll file uvm/pmap/pmap_pvt.c machdep 122 1.85 skrll 123 1.76 cegger file arch/x86/x86/cpu_ucode.c cpu_ucode needs-flag 124 1.76 cegger file arch/x86/x86/cpu_ucode_amd.c cpu_ucode needs-flag 125 1.79 drochner file arch/x86/x86/cpu_ucode_intel.c cpu_ucode needs-flag 126 1.98 christos file arch/x86/x86/compat_60_cpu_ucode.c compat_60 & cpu_ucode 127 1.76 cegger 128 1.32 xtraeme define lapic 129 1.1 fvdl file arch/x86/x86/lapic.c lapic needs-flag 130 1.1 fvdl 131 1.32 xtraeme device ioapic: lapic 132 1.32 xtraeme attach ioapic at ioapicbus 133 1.1 fvdl file arch/x86/x86/ioapic.c ioapic needs-flag 134 1.1 fvdl 135 1.1 fvdl # MP configuration using Intel SMP specification 1.4 136 1.1 fvdl file arch/x86/x86/mpbios.c mpbios 137 1.7 fvdl 138 1.51 dyoung # MP configuration using either ACPI or Intel SMP specification 1.4 139 1.51 dyoung file arch/x86/x86/mp.c acpi | mpbios 140 1.51 dyoung 141 1.7 fvdl # MP configuration using ACPI 142 1.17 christos file arch/x86/x86/mpacpi.c acpi 143 1.7 fvdl 144 1.70 jruoho file arch/x86/acpi/acpi_pdc.c acpi 145 1.110 bouyer file arch/x86/acpi/acpi_wakeup.c acpi & !xenpv 146 1.71 jruoho file arch/x86/acpi/acpi_machdep.c acpi 147 1.2 fvdl 148 1.110 bouyer file arch/x86/isa/isa_machdep.c isa 149 1.80 soren 150 1.80 soren # PC clock 151 1.110 bouyer file arch/x86/isa/clock.c !xenpv 152 1.110 bouyer file arch/x86/isa/rtc.c isa 153 1.9 fvdl 154 1.66 dyoung # Stubs for x86 routines not included in the system 155 1.66 dyoung file arch/x86/x86/x86_stub.c 156 1.66 dyoung 157 1.30 xtraeme # IPMI device 158 1.106 mlelstv file arch/x86/x86/x86_ipmi.c ipmi needs-flag 159 1.38 joerg 160 1.38 joerg file arch/x86/x86/vga_post.c vga_post 161 1.40 yamt 162 1.44 joerg file arch/x86/pci/pci_machdep.c pci 163 1.75 dyoung #file arch/x86/pci/pci_ranges.c pci 164 1.44 joerg file arch/x86/pci/pci_intr_machdep.c pci 165 1.105 cherry file arch/x86/pci/pci_msi_machdep.c pci & ! no_pci_msi_msix 166 1.105 cherry file arch/x86/pci/msipic.c pci & ! no_pci_msi_msix 167 1.44 joerg 168 1.44 joerg file arch/x86/pci/pciide_machdep.c pciide_common 169 1.44 joerg 170 1.44 joerg file arch/x86/pci/pci_bus_fixup.c pci_bus_fixup 171 1.44 joerg file arch/x86/pci/pci_addr_fixup.c pci_addr_fixup 172 1.112 riastrad 173 1.112 riastrad # AES-NI 174 1.112 riastrad include "crypto/aes/arch/x86/files.aesni" 175 1.114 riastrad 176 1.114 riastrad # VIA ACE 177 1.114 riastrad include "crypto/aes/arch/x86/files.aesvia" 178 1.115 riastrad 179 1.115 riastrad # Bitsliced AES with SSE2 180 1.115 riastrad include "crypto/aes/arch/x86/files.aessse2" 181 1.116 riastrad 182 1.116 riastrad # Permutation-based AES with PSHUFB 183 1.116 riastrad include "crypto/aes/arch/x86/files.aesssse3" 184 1.118 riastrad 185 1.118 riastrad # ChaCha with SSE2 186 1.118 riastrad include "crypto/chacha/arch/x86/files.chacha_x86" 187