xref: /netbsd-src/sys/arch/x86/conf/files.x86 (revision b5677b36047b601b9addaaa494a58ceae82c2a6c)
1#	$NetBSD: files.x86,v 1.49 2009/04/07 18:24:23 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/vm_machdep.c
67file	arch/x86/x86/x86_autoconf.c
68file	arch/x86/x86/x86_machdep.c
69
70define	lapic
71file	arch/x86/x86/lapic.c		lapic needs-flag
72
73device	ioapic: lapic
74attach	ioapic at ioapicbus
75file	arch/x86/x86/ioapic.c		ioapic needs-flag
76
77# MP configuration using Intel SMP specification 1.4
78file 	arch/x86/x86/mpbios.c		mpbios
79
80# MP configuration using ACPI
81file 	arch/x86/x86/mpacpi.c		acpi
82
83file	arch/x86/acpi/acpi_wakeup.c	acpi
84file	arch/x86/x86/acpi_machdep.c	acpi
85
86file	arch/x86/isa/isa_machdep.c	isa
87
88# Powernow common functions
89file	arch/x86/x86/powernow_k8.c	powernow_k8
90file	arch/x86/x86/powernow_common.c	powernow_k8 | powernow_k7
91
92# Intel On Demand Clock Modulation
93file	arch/x86/x86/iclockmod.c	intel_ondemand_clockmod
94
95# Intel Enhanced Speedstep
96file	arch/x86/x86/est.c		enhanced_speedstep
97file	arch/x86/x86/intel_busclock.c	enhanced_speedstep
98
99# Intel On-Die Temperature sensor
100file	arch/x86/x86/coretemp.c 	intel_coretemp
101
102# IPMI device
103device	ipmi: sysmon_envsys, sysmon_wdog
104attach	ipmi at ipmibus
105file	arch/x86/x86/ipmi.c		ipmi needs-flag
106
107file	arch/x86/x86/vga_post.c		vga_post
108
109file	arch/x86/x86/tprof_pmi.c	tprof	needs-flag
110
111file	arch/x86/pci/pci_machdep.c	pci
112file	arch/x86/pci/pci_intr_machdep.c	pci
113
114file	arch/x86/pci/pciide_machdep.c	pciide_common
115
116file	arch/x86/pci/pci_bus_fixup.c	pci_bus_fixup
117file	arch/x86/pci/pci_addr_fixup.c	pci_addr_fixup
118