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