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