xref: /titanic_41/usr/src/uts/intel/Makefile.files (revision db60a39d3edbd0819e3598d8819ac6fe576d9c27)
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 2008 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	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
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#	Microcode utilities
117#
118CORE_OBJS += ucode_utils.o
119
120#
121#	Driver modules
122#
123AGPGART_OBJS +=	agpgart.o agp_kstat.o
124AGPTARGET_OBJS += agptarget.o
125AMD64GART_OBJS += amd64_gart.o
126ATA_OBJS += $(GHD_OBJS) ata_blacklist.o ata_common.o ata_disk.o \
127	ata_dma.o atapi.o atapi_fsm.o ata_debug.o \
128	sil3xxx.o
129BSCBUS_OBJS += bscbus.o
130BSCV_OBJS += bscv.o
131CMDK_OBJS += cmdk.o
132CMLB_OBJS += cmlb.o
133CPUNEX_OBJS += cpunex.o
134DADK_OBJS += dadk.o
135DNET_OBJS += dnet.o 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
141LOGI_OBJS += logi.o
142MSMOUSE_OBJS += msm.o
143MSCSI_OBJS += mscsi.o
144PCICFG_OBJS += pcicfg.o
145PCI_E_PCINEXUS_OBJS += pcie_pci.o
146PCI_PCINEXUS_OBJS += pci_pci.o
147PCIEHPCNEXUS_OBJS += pciehpc_x86.o pciehpc_acpi.o
148PCN_OBJS += mii.o
149PIT_BEEP_OBJS += pit_beep.o
150POWER_OBJS += power.o
151PCI_AUTOCONFIG_OBJS += pci_autoconfig.o pci_boot.o pcie_nvidia.o \
152			pci_memlist.o pci_resource.o
153RADEON_OBJS += r300_cmdbuf.o radeon_cp.o radeon_drv.o \
154			radeon_state.o radeon_irq.o radeon_mem.o
155SD_OBJS += sd.o sd_xbuf.o
156STRATEGY_OBJS += strategy.o
157UCODE_OBJS += ucode_drv.o
158VGATEXT_OBJS += vgatext.o vgasubr.o
159
160#
161#	Kernel linker
162#
163KRTLD_OBJS +=		\
164	bootrd.o	\
165	ufsops.o	\
166	hsfs.o		\
167	doreloc.o	\
168	kobj_boot.o	\
169	kobj_convrelstr.o \
170	kobj_crt.o	\
171	kobj_isa.o	\
172	kobj_reloc.o
173
174#
175#	misc. modules
176#
177ACPICA_OBJS	+= dbcmds.o dbdisply.o \
178		   dbexec.o dbfileio.o dbhistry.o dbinput.o dbstats.o \
179		   dbutils.o dbxface.o evevent.o evgpe.o evgpeblk.o \
180		   evmisc.o evregion.o evrgnini.o evsci.o evxface.o \
181		   evxfevnt.o evxfregn.o hwacpi.o hwgpe.o hwregs.o \
182		   hwsleep.o hwtimer.o dsfield.o dsinit.o dsmethod.o \
183		   dsmthdat.o dsobject.o dsopcode.o dsutils.o dswexec.o \
184		   dswload.o dswscope.o dswstate.o exconfig.o exconvrt.o \
185		   excreate.o exdump.o exfield.o exfldio.o exmisc.o \
186		   exmutex.o exnames.o exoparg1.o exoparg2.o exoparg3.o \
187		   exoparg6.o exprep.o exregion.o exresnte.o exresolv.o \
188		   exresop.o exstore.o exstoren.o exstorob.o exsystem.o \
189		   exutils.o psargs.o psopcode.o psparse.o psscope.o \
190		   pstree.o psutils.o pswalk.o psxface.o nsaccess.o \
191		   nsalloc.o nsdump.o nsdumpdv.o nseval.o nsinit.o \
192		   nsload.o nsnames.o nsobject.o nsparse.o nssearch.o \
193		   nsutils.o nswalk.o nsxfeval.o nsxfname.o nsxfobj.o \
194		   rsaddr.o rscalc.o rscreate.o rsdump.o \
195		   rsinfo.o rsio.o rsirq.o rslist.o rsmemory.o rsmisc.o \
196		   rsutils.o rsxface.o tbconvrt.o tbget.o tbgetall.o \
197		   tbinstal.o tbrsdt.o tbutils.o tbxface.o tbxfroot.o \
198		   utalloc.o utclib.o utcopy.o utdebug.o utdelete.o \
199		   uteval.o utglobal.o utinit.o utmath.o utmisc.o \
200		   utobject.o utresrc.o utxface.o acpica.o acpi_enum.o \
201		   master_ops.o osl.o osl_ml.o acpica_ec.o utcache.o \
202		   utmutex.o utstate.o dmbuffer.o dmnames.o dmobject.o \
203		   dmopcode.o dmresrc.o dmresrcl.o dmresrcs.o dmutils.o \
204		   dmwalk.o psloop.o uttrack.o
205
206ACPI_INTP_OBJS += acpi_inf.o acpi_mod.o  acpi_ml.o \
207	acpi_decl.o acpi_exe.o acpi_gram.o acpi_io.o acpi_lex.o \
208	acpi_name.o acpi_ns.o acpi_op1.o acpi_op2.o acpi_rule.o \
209	acpi_tab.o acpi_thr.o acpi_val.o \
210	acpi_exc.o acpi_bst.o acpi_node.o acpi_stk.o acpi_par.o
211
212AGP_OBJS += agpmaster.o
213FBT_OBJS += fbt.o
214SDT_OBJS += sdt.o
215
216#
217#	AMD8111 NIC driver module
218#
219AMD8111S_OBJS += amd8111s_main.o amd8111s_hw.o
220
221#
222#	Pentium Performance Counter BackEnd module
223#
224P123_PCBE_OBJS = p123_pcbe.o
225
226#
227#	Pentium 4 Performance Counter BackEnd module
228#
229P4_PCBE_OBJS = p4_pcbe.o
230
231#
232#	AMD Opteron/Athlon64 Performance Counter BackEnd module
233#
234OPTERON_PCBE_OBJS = opteron_pcbe.o
235
236#
237#	AMR module
238#
239AMR_OBJS = amr.o
240
241#
242#	Brand modules
243#
244SN1_BRAND_OBJS	=	sn1_brand.o sn1_brand_asm.o
245
246LX_BRAND_OBJS  =		\
247	lx_brand.o		\
248	lx_brand_asm.o		\
249	lx_brk.o		\
250	lx_clone.o		\
251	lx_futex.o		\
252	lx_getpid.o		\
253	lx_id.o			\
254	lx_kill.o		\
255	lx_misc.o		\
256	lx_modify_ldt.o		\
257	lx_pid.o		\
258	lx_sched.o		\
259	lx_signum.o		\
260	lx_syscall.o		\
261	lx_sysinfo.o		\
262	lx_thread_area.o
263
264#
265#	special files
266#
267MODSTUB_OBJ +=	 	\
268	modstubs.o
269
270BOOTDEV_OBJS +=		\
271	bootdev.o
272
273INC_PATH	+= -I$(UTSBASE)/intel
274
275
276CPR_INTEL_OBJS +=	cpr_intel.o
277