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