1 # $NetBSD: files.x86,v 1.57 2011/02/05 14:00:34 yamt 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 # Intel Enhanced Speedstep 17 defflag ENHANCED_SPEEDSTEP 18 defflag opt_est.h EST_FREQ_USERWRITE 19 20 # Intel On Die Temperature sensor 21 defflag opt_intel_coretemp.h INTEL_CORETEMP: sysmon_envsys 22 23 # Pentium 4+ Thermal Monitor ODCM (aka On Demand Clock Modulation) 24 defflag opt_intel_odcm.h INTEL_ONDEMAND_CLOCKMOD 25 26 # AMD Powernow/Cool`n'Quiet Technology 27 defflag opt_powernow_k8.h POWERNOW_K8 28 29 # VIA C7 Temperature sensor 30 defflag opt_via_c7temp.h VIA_C7TEMP: sysmon_envsys 31 32 # VIA PadLock support 33 defflag opt_viapadlock.h VIA_PADLOCK: opencrypto 34 file arch/x86/x86/via_padlock.c via_padlock 35 36 # To be able to test for NetBSD/xen in shared files 37 defflag opt_xen.h DO_NOT_DEFINE 38 39 define cpubus { [apid = -1] } 40 define ioapicbus { [apid = -1] } 41 define ipmibus {} 42 43 # 44 # CPUs 45 # 46 device cpu 47 attach cpu at cpubus 48 file arch/x86/x86/cpu.c cpu 49 50 file arch/x86/x86/apic.c ioapic | lapic 51 file arch/x86/x86/bus_dma.c 52 file arch/x86/x86/bus_space.c 53 file arch/x86/x86/consinit.c 54 file arch/x86/x86/core_machdep.c coredump 55 file arch/x86/x86/cpu_topology.c 56 file arch/x86/x86/errata.c 57 file arch/x86/x86/genfb_machdep.c 58 file arch/x86/x86/identcpu.c 59 file arch/x86/x86/i8259.c 60 file arch/x86/x86/intr.c 61 file arch/x86/x86/nmi.c 62 file arch/x86/x86/idt.c 63 file arch/x86/x86/ipi.c 64 file arch/x86/x86/mtrr_i686.c mtrr 65 file arch/x86/x86/patch.c 66 file arch/x86/x86/platform.c 67 file arch/x86/x86/pmap.c 68 file arch/x86/x86/procfs_machdep.c procfs 69 file arch/x86/x86/sys_machdep.c 70 file arch/x86/x86/syscall.c 71 file arch/x86/x86/vm_machdep.c 72 file arch/x86/x86/x86_autoconf.c 73 file arch/x86/x86/x86_machdep.c 74 75 define lapic 76 file arch/x86/x86/lapic.c lapic needs-flag 77 78 device ioapic: lapic 79 attach ioapic at ioapicbus 80 file arch/x86/x86/ioapic.c ioapic needs-flag 81 82 # MP configuration using Intel SMP specification 1.4 83 file arch/x86/x86/mpbios.c mpbios 84 85 # MP configuration using either ACPI or Intel SMP specification 1.4 86 file arch/x86/x86/mp.c acpi | mpbios 87 88 # MP configuration using ACPI 89 file arch/x86/x86/mpacpi.c acpi 90 91 file arch/x86/x86/acpi_machdep.c acpi 92 93 file arch/x86/acpi/acpi_wakeup.c acpi 94 file arch/x86/acpi/acpi_cpu_md.c acpi & acpicpu 95 96 file arch/x86/isa/isa_machdep.c isa 97 98 # Powernow common functions 99 file arch/x86/x86/powernow_k8.c powernow_k8 100 file arch/x86/x86/powernow_common.c powernow_k8 | powernow_k7 101 102 # Intel On Demand Clock Modulation 103 file arch/x86/x86/iclockmod.c intel_ondemand_clockmod 104 105 # Intel Enhanced Speedstep 106 file arch/x86/x86/est.c enhanced_speedstep 107 file arch/x86/x86/intel_busclock.c enhanced_speedstep 108 109 # Intel On-Die Temperature sensor 110 file arch/x86/x86/coretemp.c intel_coretemp 111 112 # VIA C7 Temperature sensor 113 file arch/x86/x86/viac7temp.c via_c7temp 114 115 # IPMI device 116 device ipmi: sysmon_envsys, sysmon_wdog 117 attach ipmi at ipmibus 118 file arch/x86/x86/ipmi.c ipmi needs-flag 119 120 file arch/x86/x86/vga_post.c vga_post 121 122 file arch/x86/x86/tprof_pmi.c tprof_pmi 123 file arch/x86/x86/tprof_amdpmi.c tprof_amdpmi 124 125 file arch/x86/pci/pci_machdep.c pci 126 file arch/x86/pci/pci_intr_machdep.c pci 127 128 file arch/x86/pci/pciide_machdep.c pciide_common 129 130 file arch/x86/pci/pci_bus_fixup.c pci_bus_fixup 131 file arch/x86/pci/pci_addr_fixup.c pci_addr_fixup 132