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