xref: /netbsd-src/sys/arch/x86/conf/files.x86 (revision 404fbe5fb94ca1e054339640cabb2801ce52dd30)
1#	$NetBSD: files.x86,v 1.44 2008/08/03 19:32:03 joerg 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# PCI fixup options
10defflag opt_pcifixup.h	PCI_ADDR_FIXUP PCI_BUS_FIXUP
11			PCI_INTR_FIXUP PCI_INTR_FIXUP_FORCE
12
13# Intel Enhanced Speedstep
14defflag 			ENHANCED_SPEEDSTEP
15defflag	opt_est.h		EST_FREQ_USERWRITE
16
17# Intel On Die Temperature sensor
18defflag	opt_intel_coretemp.h	INTEL_CORETEMP:	sysmon_envsys
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 PadLock support
27defflag	opt_viapadlock.h	VIA_PADLOCK:	opencrypto
28file	arch/x86/x86/via_padlock.c	via_padlock
29
30# To be able to test for NetBSD/xen in shared files
31defflag	opt_xen.h		DO_NOT_DEFINE
32
33define  cpubus { [apid = -1] }
34define  ioapicbus { [apid = -1] }
35define  ipmibus {}
36
37#
38# CPUs
39#
40device	cpu
41attach	cpu at cpubus
42file 	arch/x86/x86/cpu.c 		cpu
43
44file	arch/x86/x86/apic.c		ioapic | lapic
45file	arch/x86/x86/bus_dma.c
46file	arch/x86/x86/bus_space.c
47file	arch/x86/x86/consinit.c
48file	arch/x86/x86/errata.c
49file	arch/x86/x86/identcpu.c
50file	arch/x86/x86/i8259.c
51file	arch/x86/x86/intr.c
52file	arch/x86/x86/idt.c
53file	arch/x86/x86/ipi.c
54file	arch/x86/x86/msr_ipifuncs.c
55file	arch/x86/x86/mtrr_i686.c	mtrr
56file 	arch/x86/x86/patch.c
57file	arch/x86/x86/platform.c
58file 	arch/x86/x86/pmap.c
59file	arch/x86/x86/sys_machdep.c
60file	arch/x86/x86/x86_autoconf.c
61file	arch/x86/x86/x86_machdep.c
62
63define	lapic
64file	arch/x86/x86/lapic.c		lapic needs-flag
65
66device	ioapic: lapic
67attach	ioapic at ioapicbus
68file	arch/x86/x86/ioapic.c		ioapic needs-flag
69
70# MP configuration using Intel SMP specification 1.4
71file 	arch/x86/x86/mpbios.c		mpbios
72
73# MP configuration using ACPI
74file 	arch/x86/x86/mpacpi.c		acpi
75
76file	arch/x86/acpi/acpi_wakeup.c	acpi
77file	arch/x86/x86/acpi_machdep.c	acpi
78
79file	arch/x86/isa/isa_machdep.c	isa
80
81# Powernow common functions
82file	arch/x86/x86/powernow_k8.c	powernow_k8
83file	arch/x86/x86/powernow_common.c	powernow_k8 | powernow_k7
84
85# Intel On Demand Clock Modulation
86file	arch/x86/x86/iclockmod.c	intel_ondemand_clockmod
87
88# Intel Enhanced Speedstep
89file	arch/x86/x86/est.c		enhanced_speedstep
90file	arch/x86/x86/intel_busclock.c	enhanced_speedstep
91
92# Intel On-Die Temperature sensor
93file	arch/x86/x86/coretemp.c 	intel_coretemp
94
95# IPMI device
96device	ipmi: sysmon_envsys, sysmon_wdog
97attach	ipmi at ipmibus
98file	arch/x86/x86/ipmi.c		ipmi needs-flag
99
100file	arch/x86/x86/vga_post.c		vga_post
101
102file	arch/x86/x86/tprof_pmi.c	tprof	needs-flag
103
104file	arch/x86/pci/pci_machdep.c	pci
105file	arch/x86/pci/pci_intr_machdep.c	pci
106
107file	arch/x86/pci/pciide_machdep.c	pciide_common
108
109file	arch/x86/pci/pci_bus_fixup.c	pci_bus_fixup
110file	arch/x86/pci/pci_addr_fixup.c	pci_addr_fixup
111