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