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