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