xref: /netbsd-src/sys/arch/x86/conf/files.x86 (revision 93bf6008f8b7982c1d1a9486e4a4a0e687fe36eb)
1#	$NetBSD: files.x86,v 1.51 2009/04/17 21:07:58 dyoung 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/errata.c
53file	arch/x86/x86/genfb_machdep.c
54file	arch/x86/x86/identcpu.c
55file	arch/x86/x86/i8259.c
56file	arch/x86/x86/intr.c
57file	arch/x86/x86/nmi.c
58file	arch/x86/x86/idt.c
59file	arch/x86/x86/ipi.c
60file	arch/x86/x86/msr_ipifuncs.c
61file	arch/x86/x86/mtrr_i686.c	mtrr
62file 	arch/x86/x86/patch.c
63file	arch/x86/x86/platform.c
64file 	arch/x86/x86/pmap.c
65file	arch/x86/x86/sys_machdep.c
66file	arch/x86/x86/syscall.c
67file	arch/x86/x86/vm_machdep.c
68file	arch/x86/x86/x86_autoconf.c
69file	arch/x86/x86/x86_machdep.c
70
71define	lapic
72file	arch/x86/x86/lapic.c		lapic needs-flag
73
74device	ioapic: lapic
75attach	ioapic at ioapicbus
76file	arch/x86/x86/ioapic.c		ioapic needs-flag
77
78# MP configuration using Intel SMP specification 1.4
79file 	arch/x86/x86/mpbios.c		mpbios
80
81# MP configuration using either ACPI or Intel SMP specification 1.4
82file 	arch/x86/x86/mp.c		acpi | mpbios
83
84# MP configuration using ACPI
85file 	arch/x86/x86/mpacpi.c		acpi
86
87file	arch/x86/acpi/acpi_wakeup.c	acpi
88file	arch/x86/x86/acpi_machdep.c	acpi
89
90file	arch/x86/isa/isa_machdep.c	isa
91
92# Powernow common functions
93file	arch/x86/x86/powernow_k8.c	powernow_k8
94file	arch/x86/x86/powernow_common.c	powernow_k8 | powernow_k7
95
96# Intel On Demand Clock Modulation
97file	arch/x86/x86/iclockmod.c	intel_ondemand_clockmod
98
99# Intel Enhanced Speedstep
100file	arch/x86/x86/est.c		enhanced_speedstep
101file	arch/x86/x86/intel_busclock.c	enhanced_speedstep
102
103# Intel On-Die Temperature sensor
104file	arch/x86/x86/coretemp.c 	intel_coretemp
105
106# IPMI device
107device	ipmi: sysmon_envsys, sysmon_wdog
108attach	ipmi at ipmibus
109file	arch/x86/x86/ipmi.c		ipmi needs-flag
110
111file	arch/x86/x86/vga_post.c		vga_post
112
113file	arch/x86/x86/tprof_pmi.c	tprof	needs-flag
114
115file	arch/x86/pci/pci_machdep.c	pci
116file	arch/x86/pci/pci_intr_machdep.c	pci
117
118file	arch/x86/pci/pciide_machdep.c	pciide_common
119
120file	arch/x86/pci/pci_bus_fixup.c	pci_bus_fixup
121file	arch/x86/pci/pci_addr_fixup.c	pci_addr_fixup
122