xref: /titanic_41/usr/src/uts/intel/Makefile.files (revision 223f6c28404c8d330c123e98936160b8da9a26b2)
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 2007 Sun Microsystems, Inc.  All rights reserved.
24# Use is subject to license terms.
25#
26# ident	"%Z%%M%	%I%	%E% SMI"
27#
28#	This Makefile defines all file modules and build rules for the
29# directory uts/intel and its children. These are the source files which
30# are specific to x86 processor architectures.
31#
32
33#
34#	Core (unix) objects
35#
36CORE_OBJS +=		\
37	arch_kdi.o	\
38	copy.o		\
39	copy_subr.o	\
40	cpc_subr.o	\
41	ddi_arch.o	\
42	ddi_i86.o	\
43	ddi_i86_asm.o	\
44	desctbls.o	\
45	desctbls_asm.o	\
46	exception.o	\
47	float.o		\
48	fpu.o		\
49	i86_subr.o	\
50	lwp_private.o	\
51	lock_prim.o	\
52	ovbcopy.o	\
53	polled_io.o	\
54	sseblk.o	\
55	sundep.o	\
56	swtch.o		\
57	sysi86.o
58
59#
60# 64-bit multiply/divide compiler helper routines
61# used only for ia32
62#
63
64SPECIAL_OBJS_32 +=	\
65	muldiv.o
66
67#
68#	Generic-unix Module
69#
70GENUNIX_OBJS +=		\
71	archdep.o	\
72	getcontext.o	\
73	install_utrap.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
102LX_PROC_OBJS +=	\
103	lx_prsubr.o	\
104	lx_prvfsops.o	\
105	lx_prvnops.o
106
107LX_AUTOFS_OBJS +=	\
108	lx_autofs.o
109
110#
111#	Decompression code
112#
113CORE_OBJS += decompress.o
114
115#
116#	Driver modules
117#
118AGPGART_OBJS +=	agpgart.o agp_kstat.o
119AGPTARGET_OBJS += agptarget.o
120AMD64GART_OBJS += amd64_gart.o
121ATA_OBJS += $(GHD_OBJS) ata_blacklist.o ata_common.o ata_disk.o \
122	ata_dma.o atapi.o atapi_fsm.o ata_debug.o \
123	sil3xxx.o
124CMDK_OBJS += cmdk.o
125CMLB_OBJS += cmlb.o
126DADK_OBJS += dadk.o
127DNET_OBJS += dnet.o mii.o
128FD_OBJS += fd.o
129GDA_OBJS += gda.o
130GHD_OBJS += ghd.o ghd_debug.o ghd_dma.o ghd_queue.o ghd_scsa.o \
131	ghd_scsi.o ghd_timer.o ghd_waitq.o ghd_gcmd.o
132I915_OBJS += i915_sundrv.o i915_dma.o i915_drv.o i915_irq.o i915_mem.o
133LOGI_OBJS += logi.o
134MSMOUSE_OBJS += msm.o
135MSCSI_OBJS += mscsi.o
136PCICFG_OBJS += pcicfg.o
137PCI_E_PCINEXUS_OBJS += pcie_pci.o
138PCI_PCINEXUS_OBJS += pci_pci.o
139PCIEHPCNEXUS_OBJS += pciehpc_x86.o pciehpc_acpi.o pciehpc_nvidia.o
140PCN_OBJS += mii.o
141POWER_OBJS += power.o
142PCI_AUTOCONFIG_OBJS += pci_autoconfig.o pci_boot.o pcie_nvidia.o \
143			pci_memlist.o pci_resource.o
144SD_OBJS += sd.o sd_xbuf.o
145STRATEGY_OBJS += strategy.o
146VGATEXT_OBJS += vgatext.o vgasubr.o
147
148#
149#	Kernel linker
150#
151KRTLD_OBJS +=		\
152	bootrd.o	\
153	ufsops.o	\
154	hsfs.o		\
155	doreloc.o	\
156	kobj_boot.o	\
157	kobj_convrelstr.o \
158	kobj_crt.o	\
159	kobj_isa.o	\
160	kobj_reloc.o
161
162#
163#	misc. modules
164#
165ACPICA_OBJS	+= dbcmds.o dbdisply.o \
166		   dbexec.o dbfileio.o dbhistry.o dbinput.o dbstats.o \
167		   dbutils.o dbxface.o evevent.o evgpe.o evgpeblk.o \
168		   evmisc.o evregion.o evrgnini.o evsci.o evxface.o \
169		   evxfevnt.o evxfregn.o hwacpi.o hwgpe.o hwregs.o \
170		   hwsleep.o hwtimer.o dsfield.o dsinit.o dsmethod.o \
171		   dsmthdat.o dsobject.o dsopcode.o dsutils.o dswexec.o \
172		   dswload.o dswscope.o dswstate.o exconfig.o exconvrt.o \
173		   excreate.o exdump.o exfield.o exfldio.o exmisc.o \
174		   exmutex.o exnames.o exoparg1.o exoparg2.o exoparg3.o \
175		   exoparg6.o exprep.o exregion.o exresnte.o exresolv.o \
176		   exresop.o exstore.o exstoren.o exstorob.o exsystem.o \
177		   exutils.o psargs.o psopcode.o psparse.o psscope.o \
178		   pstree.o psutils.o pswalk.o psxface.o nsaccess.o \
179		   nsalloc.o nsdump.o nsdumpdv.o nseval.o nsinit.o \
180		   nsload.o nsnames.o nsobject.o nsparse.o nssearch.o \
181		   nsutils.o nswalk.o nsxfeval.o nsxfname.o nsxfobj.o \
182		   rsaddr.o rscalc.o rscreate.o rsdump.o \
183		   rsinfo.o rsio.o rsirq.o rslist.o rsmemory.o rsmisc.o \
184		   rsutils.o rsxface.o tbconvrt.o tbget.o tbgetall.o \
185		   tbinstal.o tbrsdt.o tbutils.o tbxface.o tbxfroot.o \
186		   utalloc.o utclib.o utcopy.o utdebug.o utdelete.o \
187		   uteval.o utglobal.o utinit.o utmath.o utmisc.o \
188		   utobject.o utresrc.o utxface.o acpica.o acpi_enum.o \
189		   master_ops.o osl.o osl_ml.o acpica_ec.o utcache.o \
190		   utmutex.o utstate.o dmbuffer.o dmnames.o dmobject.o \
191		   dmopcode.o dmresrc.o dmresrcl.o dmresrcs.o dmutils.o \
192		   dmwalk.o psloop.o uttrack.o
193
194ACPI_INTP_OBJS += acpi_inf.o acpi_mod.o  acpi_ml.o \
195	acpi_decl.o acpi_exe.o acpi_gram.o acpi_io.o acpi_lex.o \
196	acpi_name.o acpi_ns.o acpi_op1.o acpi_op2.o acpi_rule.o \
197	acpi_tab.o acpi_thr.o acpi_val.o \
198	acpi_exc.o acpi_bst.o acpi_node.o acpi_stk.o acpi_par.o
199
200AGP_OBJS += agpmaster.o
201FBT_OBJS += fbt.o
202SDT_OBJS += sdt.o
203
204#
205#	Pentium Performance Counter BackEnd module
206#
207P123_PCBE_OBJS = p123_pcbe.o
208
209#
210#	Pentium 4 Performance Counter BackEnd module
211#
212P4_PCBE_OBJS = p4_pcbe.o
213
214#
215#	AMD Opteron/Athlon64 Performance Counter BackEnd module
216#
217OPTERON_PCBE_OBJS = opteron_pcbe.o
218
219#
220#	AAC module
221#
222AAC_OBJS = aac.o aac_ioctl.o
223
224#
225#	AMR module
226#
227AMR_OBJS = amr.o
228
229#
230#	Brand modules
231#
232SN1_BRAND_OBJS	=	sn1_brand.o sn1_brand_asm.o
233
234LX_BRAND_OBJS  =		\
235	lx_brand.o		\
236	lx_brand_asm.o		\
237	lx_brk.o		\
238	lx_clone.o		\
239	lx_futex.o		\
240	lx_getpid.o		\
241	lx_id.o			\
242	lx_kill.o		\
243	lx_misc.o		\
244	lx_modify_ldt.o		\
245	lx_pid.o		\
246	lx_sched.o		\
247	lx_signum.o		\
248	lx_syscall.o		\
249	lx_sysinfo.o		\
250	lx_thread_area.o
251
252#
253#	special files
254#
255MODSTUB_OBJ +=	 	\
256	modstubs.o
257
258BOOTDEV_OBJS +=		\
259	bootdev.o
260
261INC_PATH	+= -I$(UTSBASE)/intel
262