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