1 # $NetBSD: files.x86,v 1.91 2018/01/08 01:41:34 christos Exp $ 2 3 # options for MP configuration through the MP spec 4 defflag opt_mpbios.h MPBIOS MPVERBOSE MPDEBUG MPBIOS_SCANPCI 5 6 # MTRR support 7 defflag MTRR 8 9 # Interrupt debug 10 defflag opt_intrdebug.h INTRDEBUG 11 12 # PCI fixup options 13 defflag opt_pcifixup.h PCI_ADDR_FIXUP PCI_BUS_FIXUP 14 PCI_INTR_FIXUP PCI_INTR_FIXUP_FORCE 15 16 # To be able to test for NetBSD/xen in shared files 17 defflag opt_xen.h DO_NOT_DEFINE 18 19 defflag SVS 20 21 define cpubus { [apid = -1] } 22 define cpufeaturebus {} 23 define ioapicbus { [apid = -1] } 24 define ipmibus {} 25 26 # BIOS32 routines 27 define bios32 28 file arch/x86/x86/bios32.c bios32 needs-flag 29 30 # 31 # CPU features 32 # 33 device cpu: cpufeaturebus 34 attach cpu at cpubus 35 file arch/x86/x86/cpu.c cpu 36 file arch/x86/x86/cpu_rng.c cpu 37 38 device acpicpu: acpi 39 attach acpicpu at cpufeaturebus 40 file dev/acpi/acpi_cpu.c acpicpu 41 file dev/acpi/acpi_cpu_cstate.c acpicpu 42 file dev/acpi/acpi_cpu_pstate.c acpicpu 43 file dev/acpi/acpi_cpu_tstate.c acpicpu 44 file arch/x86/acpi/acpi_cpu_md.c acpicpu 45 46 device coretemp: sysmon_envsys 47 attach coretemp at cpufeaturebus 48 file arch/x86/x86/coretemp.c coretemp 49 50 device est 51 attach est at cpufeaturebus 52 file arch/x86/x86/est.c est 53 file arch/x86/x86/intel_busclock.c est 54 55 device odcm 56 attach odcm at cpufeaturebus 57 file arch/x86/x86/odcm.c odcm 58 59 device padlock: opencrypto 60 attach padlock at cpufeaturebus 61 file arch/x86/x86/via_padlock.c padlock 62 63 device powernow 64 attach powernow at cpufeaturebus 65 file arch/x86/x86/powernow.c powernow 66 67 device viac7temp: sysmon_envsys 68 attach viac7temp at cpufeaturebus 69 file arch/x86/x86/viac7temp.c viac7temp 70 71 device vmt: sysmon_power, sysmon_taskq 72 attach vmt at cpufeaturebus 73 file arch/x86/x86/vmt.c vmt 74 75 file arch/x86/x86/apic.c ioapic | lapic 76 file arch/x86/x86/bus_dma.c machdep 77 file arch/x86/x86/bus_space.c machdep 78 file arch/x86/x86/consinit.c machdep 79 file arch/x86/x86/core_machdep.c coredump 80 file arch/x86/x86/cpu_topology.c machdep 81 file arch/x86/x86/db_memrw.c ddb | kgdb 82 file arch/x86/x86/db_trace.c ddb 83 file arch/x86/x86/efi.c machdep 84 file arch/x86/x86/errata.c machdep 85 file arch/x86/x86/genfb_machdep.c machdep 86 file arch/x86/x86/identcpu.c machdep 87 file arch/x86/x86/i8259.c machdep 88 file arch/x86/x86/intr.c machdep 89 file arch/x86/x86/kgdb_machdep.c kgdb 90 file arch/x86/x86/nmi.c machdep 91 file arch/x86/x86/idt.c machdep 92 file arch/x86/x86/ipi.c machdep 93 file arch/x86/x86/mtrr_i686.c mtrr 94 file arch/x86/x86/patch.c machdep 95 file arch/x86/x86/platform.c machdep 96 file arch/x86/x86/pmap.c machdep 97 file arch/x86/x86/pmap_tlb.c machdep 98 file arch/x86/x86/pmc.c machdep 99 file arch/x86/x86/procfs_machdep.c procfs 100 file arch/x86/x86/sys_machdep.c machdep 101 file arch/x86/x86/syscall.c machdep 102 file arch/x86/x86/tsc.c machdep 103 file arch/x86/x86/vm_machdep.c machdep 104 file arch/x86/x86/x86_autoconf.c machdep 105 file arch/x86/x86/x86_userconf.c userconf 106 file arch/x86/x86/x86_machdep.c machdep 107 108 file uvm/pmap/pmap_pvt.c machdep 109 110 file arch/x86/x86/cpu_ucode.c cpu_ucode needs-flag 111 file arch/x86/x86/cpu_ucode_amd.c cpu_ucode needs-flag 112 file arch/x86/x86/cpu_ucode_intel.c cpu_ucode needs-flag 113 114 define lapic 115 file arch/x86/x86/lapic.c lapic needs-flag 116 117 device ioapic: lapic 118 attach ioapic at ioapicbus 119 file arch/x86/x86/ioapic.c ioapic needs-flag 120 121 # MP configuration using Intel SMP specification 1.4 122 file arch/x86/x86/mpbios.c mpbios 123 124 # MP configuration using either ACPI or Intel SMP specification 1.4 125 file arch/x86/x86/mp.c acpi | mpbios 126 127 # MP configuration using ACPI 128 file arch/x86/x86/mpacpi.c acpi 129 130 file arch/x86/acpi/acpi_pdc.c acpi 131 file arch/x86/acpi/acpi_wakeup.c acpi 132 file arch/x86/acpi/acpi_machdep.c acpi 133 134 file arch/x86/isa/isa_machdep.c 135 136 # PC clock 137 file arch/x86/isa/clock.c 138 file arch/x86/isa/rtc.c 139 140 # Stubs for x86 routines not included in the system 141 file arch/x86/x86/x86_stub.c 142 143 # IPMI device 144 device ipmi: sysmon_envsys, sysmon_wdog 145 attach ipmi at ipmibus 146 file arch/x86/x86/ipmi.c ipmi needs-flag 147 148 file arch/x86/x86/vga_post.c vga_post 149 150 file arch/x86/x86/tprof_pmi.c tprof_pmi 151 file arch/x86/x86/tprof_amdpmi.c tprof_amdpmi 152 153 file arch/x86/pci/pci_machdep.c pci 154 #file arch/x86/pci/pci_ranges.c pci 155 file arch/x86/pci/pci_intr_machdep.c pci 156 file arch/x86/pci/pci_msi_machdep.c pci 157 file arch/x86/pci/msipic.c pci 158 159 file arch/x86/pci/pciide_machdep.c pciide_common 160 161 file arch/x86/pci/pci_bus_fixup.c pci_bus_fixup 162 file arch/x86/pci/pci_addr_fixup.c pci_addr_fixup 163