xref: /netbsd-src/sys/arch/x86/conf/files.x86 (revision d909946ca08dceb44d7d0f22ec9488679695d976)
1#	$NetBSD: files.x86,v 1.87 2016/02/27 00:09:45 tls 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# To be able to test for NetBSD/xen in shared files
17defflag	opt_xen.h		DO_NOT_DEFINE
18
19define  cpubus { [apid = -1] }
20define	cpufeaturebus {}
21define  ioapicbus { [apid = -1] }
22define  ipmibus {}
23
24#
25# CPU features
26#
27device	cpu: cpufeaturebus
28attach	cpu at cpubus
29file 	arch/x86/x86/cpu.c 		cpu
30file	arch/x86/x86/cpu_rng.c		cpu
31
32device	acpicpu: acpi
33attach	acpicpu at cpufeaturebus
34file	dev/acpi/acpi_cpu.c		acpicpu
35file	dev/acpi/acpi_cpu_cstate.c	acpicpu
36file	dev/acpi/acpi_cpu_pstate.c	acpicpu
37file	dev/acpi/acpi_cpu_tstate.c	acpicpu
38file	arch/x86/acpi/acpi_cpu_md.c	acpicpu
39
40device	coretemp: sysmon_envsys
41attach	coretemp at cpufeaturebus
42file	arch/x86/x86/coretemp.c		coretemp
43
44device	est
45attach	est at cpufeaturebus
46file	arch/x86/x86/est.c		est
47file	arch/x86/x86/intel_busclock.c	est
48
49device	odcm
50attach	odcm at cpufeaturebus
51file	arch/x86/x86/odcm.c		odcm
52
53device	padlock: opencrypto
54attach	padlock at cpufeaturebus
55file	arch/x86/x86/via_padlock.c	padlock
56
57device	powernow
58attach	powernow at cpufeaturebus
59file	arch/x86/x86/powernow.c		powernow
60
61device	viac7temp: sysmon_envsys
62attach	viac7temp at cpufeaturebus
63file	arch/x86/x86/viac7temp.c	viac7temp
64
65device	vmt: sysmon_power, sysmon_taskq
66attach	vmt at cpufeaturebus
67file	arch/x86/x86/vmt.c		vmt
68
69file	arch/x86/x86/apic.c		ioapic | lapic
70file	arch/x86/x86/bus_dma.c		machdep
71file	arch/x86/x86/bus_space.c	machdep
72file	arch/x86/x86/consinit.c		machdep
73file	arch/x86/x86/core_machdep.c	coredump
74file	arch/x86/x86/cpu_topology.c	machdep
75file	arch/x86/x86/db_memrw.c		ddb | kgdb
76file	arch/x86/x86/db_trace.c		ddb
77file	arch/x86/x86/efi.c		machdep
78file	arch/x86/x86/errata.c		machdep
79file	arch/x86/x86/genfb_machdep.c	machdep
80file	arch/x86/x86/identcpu.c		machdep
81file	arch/x86/x86/i8259.c		machdep
82file	arch/x86/x86/intr.c		machdep
83file	arch/x86/x86/nmi.c		machdep
84file	arch/x86/x86/idt.c		machdep
85file	arch/x86/x86/ipi.c		machdep
86file	arch/x86/x86/mtrr_i686.c	mtrr
87file 	arch/x86/x86/patch.c		machdep
88file	arch/x86/x86/platform.c		machdep
89file 	arch/x86/x86/pmap.c		machdep
90file 	arch/x86/x86/pmap_tlb.c		machdep
91file	arch/x86/x86/procfs_machdep.c	procfs
92file	arch/x86/x86/sys_machdep.c	machdep
93file	arch/x86/x86/syscall.c		machdep
94file	arch/x86/x86/tsc.c		machdep
95file	arch/x86/x86/vm_machdep.c	machdep
96file	arch/x86/x86/x86_autoconf.c	machdep
97file	arch/x86/x86/x86_userconf.c	userconf
98file	arch/x86/x86/x86_machdep.c	machdep
99
100file 	uvm/pmap/pmap_pvt.c		machdep
101
102file	arch/x86/x86/cpu_ucode.c	cpu_ucode needs-flag
103file	arch/x86/x86/cpu_ucode_amd.c	cpu_ucode needs-flag
104file	arch/x86/x86/cpu_ucode_intel.c	cpu_ucode needs-flag
105
106define	lapic
107file	arch/x86/x86/lapic.c		lapic needs-flag
108
109device	ioapic: lapic
110attach	ioapic at ioapicbus
111file	arch/x86/x86/ioapic.c		ioapic needs-flag
112
113# MP configuration using Intel SMP specification 1.4
114file 	arch/x86/x86/mpbios.c		mpbios
115
116# MP configuration using either ACPI or Intel SMP specification 1.4
117file 	arch/x86/x86/mp.c		acpi | mpbios
118
119# MP configuration using ACPI
120file 	arch/x86/x86/mpacpi.c		acpi
121
122file	arch/x86/acpi/acpi_pdc.c	acpi
123file	arch/x86/acpi/acpi_wakeup.c	acpi
124file	arch/x86/acpi/acpi_machdep.c	acpi
125
126file	arch/x86/isa/isa_machdep.c
127
128# PC clock
129file 	arch/x86/isa/clock.c
130file	arch/x86/isa/rtc.c
131
132# Stubs for x86 routines not included in the system
133file	arch/x86/x86/x86_stub.c
134
135# IPMI device
136device	ipmi: sysmon_envsys, sysmon_wdog
137attach	ipmi at ipmibus
138file	arch/x86/x86/ipmi.c		ipmi needs-flag
139
140file	arch/x86/x86/vga_post.c		vga_post
141
142file	arch/x86/x86/tprof_pmi.c	tprof_pmi
143file	arch/x86/x86/tprof_amdpmi.c	tprof_amdpmi
144
145file	arch/x86/pci/pci_machdep.c	pci
146#file	arch/x86/pci/pci_ranges.c	pci
147file	arch/x86/pci/pci_intr_machdep.c	pci
148file	arch/x86/pci/pci_msi_machdep.c	pci
149file	arch/x86/pci/msipic.c		pci
150
151file	arch/x86/pci/pciide_machdep.c	pciide_common
152
153file	arch/x86/pci/pci_bus_fixup.c	pci_bus_fixup
154file	arch/x86/pci/pci_addr_fixup.c	pci_addr_fixup
155