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