xref: /titanic_44/usr/src/uts/intel/Makefile.files (revision 33f5ff17089e3a43e6e730bf80384c233123dbd9)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9# or http://www.opensolaris.org/os/licensing.
10# See the License for the specific language governing permissions
11# and limitations under the License.
12#
13# When distributing Covered Code, include this CDDL HEADER in each
14# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15# If applicable, add the following below this CDDL HEADER, with the
16# fields enclosed by brackets "[]" replaced with your own identifying
17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21
22#
23# Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
24#
25
26#
27#	This Makefile defines all file modules and build rules for the
28# directory uts/intel and its children. These are the source files which
29# are specific to x86 processor architectures.
30#
31
32#
33#	Core (unix) objects
34#
35CORE_OBJS +=		\
36	arch_kdi.o	\
37	copy.o		\
38	copy_subr.o	\
39	cpc_subr.o	\
40	ddi_arch.o	\
41	ddi_i86.o	\
42	ddi_i86_asm.o	\
43	desctbls.o	\
44	desctbls_asm.o	\
45	exception.o	\
46	float.o		\
47	fmsmb.o		\
48	fpu.o		\
49	i86_subr.o	\
50	lock_prim.o	\
51	ovbcopy.o	\
52	polled_io.o	\
53	sseblk.o	\
54	sundep.o	\
55	swtch.o		\
56	sysi86.o
57
58#
59# 64-bit multiply/divide compiler helper routines
60# used only for ia32
61#
62
63SPECIAL_OBJS_32 +=	\
64	muldiv.o
65
66#
67#	Generic-unix Module
68#
69GENUNIX_OBJS +=		\
70	archdep.o	\
71	getcontext.o	\
72	install_utrap.o	\
73	lwp_private.o	\
74	prom_enter.o	\
75	prom_exit.o	\
76	prom_panic.o	\
77	sendsig.o	\
78	syscall.o
79
80
81#
82#	PROM Routines
83#
84GENUNIX_OBJS +=		\
85	prom_env.o	\
86	prom_emul.o	\
87	prom_getchar.o	\
88	prom_init.o	\
89	prom_node.o	\
90	prom_printf.o	\
91	prom_prop.o	\
92	prom_putchar.o	\
93	prom_reboot.o	\
94	prom_version.o
95
96#
97#	file system modules
98#
99CORE_OBJS +=		\
100	prmachdep.o
101
102#
103#	ZFS file system module
104#
105ZFS_OBJS +=		\
106	spa_boot.o
107
108#
109#	Decompression code
110#
111CORE_OBJS += decompress.o
112
113#
114#	Microcode utilities
115#
116CORE_OBJS += ucode_utils.o
117
118#
119#	Driver modules
120#
121AGPGART_OBJS +=	agpgart.o agp_kstat.o
122AGPTARGET_OBJS += agptarget.o
123AMD64GART_OBJS += amd64_gart.o
124ARCMSR_OBJS += arcmsr.o
125ATA_OBJS += $(GHD_OBJS) ata_blacklist.o ata_common.o ata_disk.o \
126	ata_dma.o atapi.o atapi_fsm.o ata_debug.o \
127	sil3xxx.o
128BSCBUS_OBJS += bscbus.o
129BSCV_OBJS += bscv.o
130CMDK_OBJS += cmdk.o
131CMLB_OBJS += cmlb.o
132CPUNEX_OBJS += cpunex.o
133DADK_OBJS += dadk.o
134DCOPY_OBJS += dcopy.o
135DNET_OBJS += dnet.o dnet_mii.o
136FD_OBJS += fd.o
137GDA_OBJS += gda.o
138GHD_OBJS += ghd.o ghd_debug.o ghd_dma.o ghd_queue.o ghd_scsa.o \
139	ghd_scsi.o ghd_timer.o ghd_waitq.o ghd_gcmd.o
140I915_OBJS += i915_dma.o i915_drv.o i915_irq.o i915_mem.o \
141	i915_gem.o i915_gem_debug.o i915_gem_tiling.o
142NSKERN_OBJS += nsc_asm.o
143PCICFG_OBJS += pcicfg.o
144PCI_PCINEXUS_OBJS += pci_pci.o
145PCIEB_OBJS += pcieb_x86.o
146PIT_BEEP_OBJS += pit_beep.o
147POWER_OBJS += power.o
148PCI_AUTOCONFIG_OBJS += pci_autoconfig.o pci_boot.o pcie_nvidia.o \
149			pci_memlist.o pci_resource.o
150RADEON_OBJS += r300_cmdbuf.o radeon_cp.o radeon_drv.o \
151			radeon_state.o radeon_irq.o radeon_mem.o
152SD_OBJS += sd.o sd_xbuf.o
153
154HECI_OBJS += 		\
155	heci_init.o	\
156	heci_intr.o	\
157	heci_interface.o \
158	io_heci.o	\
159	heci_main.o
160
161STRATEGY_OBJS += strategy.o
162UCODE_OBJS += ucode_drv.o
163VGATEXT_OBJS += vgatext.o vgasubr.o
164
165#
166#	Kernel linker
167#
168KRTLD_OBJS +=		\
169	bootrd.o	\
170	ufsops.o	\
171	hsfs.o		\
172	doreloc.o	\
173	kobj_boot.o	\
174	kobj_convrelstr.o \
175	kobj_crt.o	\
176	kobj_isa.o	\
177	kobj_reloc.o
178
179#
180#	misc. modules
181#
182ACPICA_OBJS	+= dbcmds.o dbdisply.o \
183		   dbexec.o dbfileio.o dbhistry.o dbinput.o dbstats.o \
184		   dbutils.o dbxface.o evevent.o evgpe.o evgpeblk.o \
185		   evmisc.o evregion.o evrgnini.o evsci.o evxface.o \
186		   evxfevnt.o evxfregn.o hwacpi.o hwgpe.o hwregs.o \
187		   hwsleep.o hwtimer.o dsfield.o dsinit.o dsmethod.o \
188		   dsmthdat.o dsobject.o dsopcode.o dsutils.o dswexec.o \
189		   dswload.o dswscope.o dswstate.o exconfig.o exconvrt.o \
190		   excreate.o exdump.o exfield.o exfldio.o exmisc.o \
191		   exmutex.o exnames.o exoparg1.o exoparg2.o exoparg3.o \
192		   exoparg6.o exprep.o exregion.o exresnte.o exresolv.o \
193		   exresop.o exstore.o exstoren.o exstorob.o exsystem.o \
194		   exutils.o psargs.o psopcode.o psparse.o psscope.o \
195		   pstree.o psutils.o pswalk.o psxface.o nsaccess.o \
196		   nsalloc.o nsdump.o nsdumpdv.o nseval.o nsinit.o \
197		   nsload.o nsnames.o nsobject.o nsparse.o nssearch.o \
198		   nsutils.o nswalk.o nsxfeval.o nsxfname.o nsxfobj.o \
199		   rsaddr.o rscalc.o rscreate.o rsdump.o \
200		   rsinfo.o rsio.o rsirq.o rslist.o rsmemory.o rsmisc.o \
201		   rsutils.o rsxface.o tbfadt.o tbfind.o tbinstal.o  \
202		   tbutils.o tbxface.o tbxfroot.o \
203		   utalloc.o utclib.o utcopy.o utdebug.o utdelete.o \
204		   uteval.o utglobal.o utinit.o utmath.o utmisc.o \
205		   utobject.o utresrc.o utxface.o acpica.o acpi_enum.o \
206		   master_ops.o osl.o osl_ml.o acpica_ec.o utcache.o \
207		   utmutex.o utstate.o dmbuffer.o dmnames.o dmobject.o \
208		   dmopcode.o dmresrc.o dmresrcl.o dmresrcs.o dmutils.o \
209		   dmwalk.o psloop.o nspredef.o hwxface.o hwvalid.o \
210		   utlock.o utids.o nsrepair.o nsrepair2.o \
211		   dbmethod.o dbnames.o dsargs.o dscontrol.o dswload2.o \
212		   evglock.o evgpeinit.o evgpeutil.o evxfgpe.o exdebug.o \
213		   hwpci.o utdecode.o utosi.o utxferror.o
214
215
216AGP_OBJS += agpmaster.o
217FBT_OBJS += fbt.o
218SDT_OBJS += sdt.o
219
220#
221#	AMD8111 NIC driver module
222#
223AMD8111S_OBJS += amd8111s_main.o amd8111s_hw.o
224
225#
226#	Pentium Performance Counter BackEnd module
227#
228P123_PCBE_OBJS = p123_pcbe.o
229
230#
231#	Pentium 4 Performance Counter BackEnd module
232#
233P4_PCBE_OBJS = p4_pcbe.o
234
235#
236#	AMD Opteron/Athlon64 Performance Counter BackEnd module
237#
238OPTERON_PCBE_OBJS = opteron_pcbe.o
239
240#
241#	Intel Core Architecture Performance Counter BackEnd module
242#
243CORE_PCBE_OBJS = core_pcbe.o
244
245#
246#	AMR module
247#
248AMR_OBJS = amr.o
249
250#
251#	IOMMULIB module
252#
253IOMMULIB_OBJS = iommulib.o
254
255#
256#	Brand modules
257#
258SN1_BRAND_OBJS	=	sn1_brand.o sn1_brand_asm.o
259S10_BRAND_OBJS	=	s10_brand.o s10_brand_asm.o
260
261#
262#	special files
263#
264MODSTUB_OBJ +=	 	\
265	modstubs.o
266
267BOOTDEV_OBJS +=		\
268	bootdev.o
269
270INC_PATH	+= -I$(UTSBASE)/intel
271
272
273CPR_INTEL_OBJS +=	cpr_intel.o
274
275#
276# AMD family 0xf memory controller module
277#
278include $(SRC)/common/mc/mc-amd/Makefile.mcamd
279MCAMD_OBJS	+= \
280	$(MCAMD_CMN_OBJS) \
281	mcamd_drv.o \
282	mcamd_dimmcfg.o \
283	mcamd_subr.o \
284	mcamd_pcicfg.o
285