xref: /netbsd-src/sys/arch/x86/conf/files.x86 (revision 8b0f9554ff8762542c4defc4f70e1eb76fb508fa)
1#	$NetBSD: files.x86,v 1.36 2007/12/09 20:27:48 jmcneill 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# PCI fixup options
10defflag opt_pcifixup.h	PCI_ADDR_FIXUP PCI_BUS_FIXUP
11			PCI_INTR_FIXUP PCI_INTR_FIXUP_FORCE
12
13# Intel Enhanced Speedstep
14defflag 			ENHANCED_SPEEDSTEP
15defflag	opt_est.h		EST_FREQ_USERWRITE
16
17# Intel On Die Temperature sensor
18defflag	opt_intel_coretemp.h	INTEL_CORETEMP:	sysmon_envsys
19
20# Pentium 4+ Thermal Monitor ODCM (aka On Demand Clock Modulation)
21defflag opt_intel_odcm.h 	INTEL_ONDEMAND_CLOCKMOD
22
23# AMD Powernow/Cool`n'Quiet Technology
24defflag opt_powernow_k8.h	POWERNOW_K8
25
26# VIA PadLock support
27defflag	opt_viapadlock.h	VIA_PADLOCK:	opencrypto
28file	arch/x86/x86/via_padlock.c	via_padlock
29
30# To be able to test for NetBSD/xen in shared files
31defflag	opt_xen.h		DO_NOT_DEFINE
32
33define  cpubus { [apid = -1] }
34define  ioapicbus { [apid = -1] }
35define  ipmibus {}
36
37#
38# CPUs
39#
40device	cpu
41attach	cpu at cpubus
42file 	arch/x86/x86/cpu.c 		cpu
43
44file	arch/x86/x86/apic.c		ioapic | lapic
45file	arch/x86/x86/bus_dma.c
46file	arch/x86/x86/bus_space.c
47file	arch/x86/x86/cacheinfo.c
48file	arch/x86/x86/consinit.c
49file	arch/x86/x86/errata.c
50file	arch/x86/x86/i8259.c
51file	arch/x86/x86/idle_machdep.c
52file	arch/x86/x86/intr.c
53file	arch/x86/x86/ipi.c		multiprocessor
54file	arch/x86/x86/msr_ipifuncs.c
55file	arch/x86/x86/mtrr_i686.c	mtrr
56file 	arch/x86/x86/patch.c
57file	arch/x86/x86/platform.c
58file 	arch/x86/x86/pmap.c
59file	arch/x86/x86/sys_machdep.c
60file	arch/x86/x86/x86_autoconf.c
61file	arch/x86/x86/x86_machdep.c
62
63define	lapic
64file	arch/x86/x86/lapic.c		lapic needs-flag
65
66device	ioapic: lapic
67attach	ioapic at ioapicbus
68file	arch/x86/x86/ioapic.c		ioapic needs-flag
69
70# MP configuration using Intel SMP specification 1.4
71file 	arch/x86/x86/mpbios.c		mpbios
72
73# MP configuration using ACPI
74file 	arch/x86/x86/mpacpi.c		acpi
75
76file    arch/x86/x86/acpi_machdep.c	acpi
77
78file	arch/x86/isa/isa_machdep.c	isa
79
80# Powernow common functions
81file	arch/x86/x86/powernow_k8.c	powernow_k8
82file	arch/x86/x86/powernow_common.c	powernow_k8 | powernow_k7
83
84# Intel On Demand Clock Modulation
85file	arch/x86/x86/iclockmod.c	intel_ondemand_clockmod
86
87# Intel Enhanced Speedstep
88file	arch/x86/x86/est.c		enhanced_speedstep
89file	arch/x86/x86/intel_busclock.c	enhanced_speedstep
90
91# Intel On-Die Temperature sensor
92file	arch/x86/x86/coretemp.c 	intel_coretemp
93
94# IPMI device
95device	ipmi: sysmon_envsys, sysmon_wdog
96attach	ipmi at ipmibus
97file	arch/x86/x86/ipmi.c		ipmi needs-flag
98