xref: /titanic_51/usr/src/uts/i86pc/Makefile.files (revision 8eea8e29cc4374d1ee24c25a07f45af132db3499)
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, Version 1.0 only
6# (the "License").  You may not use this file except in compliance
7# with the License.
8#
9# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10# or http://www.opensolaris.org/os/licensing.
11# See the License for the specific language governing permissions
12# and limitations under the License.
13#
14# When distributing Covered Code, include this CDDL HEADER in each
15# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16# If applicable, add the following below this CDDL HEADER, with the
17# fields enclosed by brackets "[]" replaced with your own identifying
18# information: Portions Copyright [yyyy] [name of copyright owner]
19#
20# CDDL HEADER END
21#
22#
23# Copyright 2005 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 in the directory uts/i86pc
29#	and it's children. These are the source files which i86pc
30#	"implementation architecture" dependent.
31#
32
33#
34#	object lists
35#
36CORE_OBJS +=			\
37	beeper.o		\
38	biosdisk.o		\
39	cbe.o			\
40	confunix.o		\
41	cpuid.o			\
42	dis_tables.o		\
43	ddi_impl.o		\
44	dtrace_subr.o		\
45	dvma.o			\
46	graphics.o		\
47	hat_i86.o		\
48	hat_kdi.o		\
49	hment.o			\
50	hrtimers.o		\
51	htable.o		\
52	instr_size.o		\
53	intr.o			\
54	lgrpplat.o		\
55	mach_i86mmu.o		\
56	mach_kdi.o		\
57	mach_sysconfig.o	\
58	machdep.o		\
59	mem_config_stubs.o	\
60	memnode.o		\
61	mlsetup.o		\
62	mp_call.o		\
63	mp_implfuncs.o		\
64	mp_machdep.o		\
65	mp_startup.o		\
66	memscrub.o		\
67	mpcore.o		\
68	notes.o			\
69	pmem.o			\
70	ppage.o			\
71	startup.o		\
72	timestamp.o		\
73	trap.o			\
74	vm_machdep.o		\
75	x_call.o
76
77#
78#	locore.o is special. It must be the first file relocated so that it
79#	it is relocated just where its name implies.
80#
81SPECIAL_OBJS_32 +=		\
82	locore.o		\
83	fast_trap_asm.o		\
84	interrupt.o		\
85	syscall_asm.o
86
87SPECIAL_OBJS_64 +=		\
88	locore.o		\
89	fast_trap_asm.o		\
90	interrupt.o		\
91	syscall_asm_amd64.o
92
93SPECIAL_OBJS += $(SPECIAL_OBJS_$(CLASS))
94
95#
96#			driver modules
97#
98ROOTNEX_OBJS += rootnex.o
99ISANEXUS_OBJS += isa.o dma_engine.o i8237A.o
100PCINEXUS_OBJS += pci.o pci_tools.o
101
102TCIC_OBJS +=	tcic.o
103
104ATA_OBJS +=	$(GHD_OBJS) ata_blacklist.o ata_common.o ata_disk.o \
105		ata_dma.o atapi.o atapi_fsm.o ata_debug.o \
106		sil3xxx.o
107
108CHS_OBJS	+= chs.o chs_busops.o chs_conf.o chs_dac.o	\
109		   chs_devops.o chs_hba.o chs_interrupt.o	\
110		   chs_intr.o chs_queue.o chs_raid.o		\
111		   chs_transport.o chs_viper.o chs_viperconf.o
112
113NCRS_OBJS	+= glm.o
114ELXL_OBJS	+= elxl.o elxl_cmn.o mii.o
115
116FD_OBJS		+= fd.o
117
118PCN_OBJS	+= mii.o
119SBPRO_OBJS	+= sbpro.o
120
121DNET_OBJS	+= dnet.o mii.o
122IPRB_OBJS	+= iprb.o mii.o
123BMC_OBJS	+= bmc_fe.o bmc_kcs.o
124LOGI_OBJS	+= logi.o
125MSCSI_OBJS	+= mscsi.o
126MSMOUSE_OBJS	+= msm.o
127PCPLUSMP_OBJS	+= apic.o psm_common.o apic_introp.o
128RTLS_OBJS	+= rtls.o
129SPWR_OBJS	+= spwr.o 9432.o lm9432.o lm9432cf.o
130AGPGART_OBJS	+=	agpgart.o \
131			agp_kstat.o
132AGPTARGET_OBJS	+=	agptarget.o
133AMD64GART_OBJS	+=	amd64_gart.o
134BSCV_OBJS	+= bscv.o
135BSCBUS_OBJS	+= bscbus.o
136
137#
138#	platform specific modules
139#
140UPPC_OBJS += uppc.o psm_common.o
141PCI_AUTOCONFIG_OBJS += \
142	pci_autoconfig.o \
143	pci_boot.o	\
144	pci_memlist.o	\
145	pci_mech1.o	\
146	pci_mech2.o	\
147	pci_neptune.o	\
148	pci_orion.o	\
149	pci_resource.o
150
151ACPICA_OBJS	+= dbcmds.o dbdisply.o \
152		   dbexec.o dbfileio.o dbhistry.o dbinput.o dbstats.o \
153		   dbutils.o dbxface.o evevent.o evgpe.o evgpeblk.o \
154		   evmisc.o evregion.o evrgnini.o evsci.o evxface.o \
155		   evxfevnt.o evxfregn.o hwacpi.o hwgpe.o hwregs.o \
156		   hwsleep.o hwtimer.o dsfield.o dsinit.o dsmethod.o \
157		   dsmthdat.o dsobject.o dsopcode.o dsutils.o dswexec.o \
158		   dswload.o dswscope.o dswstate.o exconfig.o exconvrt.o \
159		   excreate.o exdump.o exfield.o exfldio.o exmisc.o \
160		   exmutex.o exnames.o exoparg1.o exoparg2.o exoparg3.o \
161		   exoparg6.o exprep.o exregion.o exresnte.o exresolv.o \
162		   exresop.o exstore.o exstoren.o exstorob.o exsystem.o \
163		   exutils.o psargs.o psopcode.o psparse.o psscope.o \
164		   pstree.o psutils.o pswalk.o psxface.o nsaccess.o \
165		   nsalloc.o nsdump.o nsdumpdv.o nseval.o nsinit.o \
166		   nsload.o nsnames.o nsobject.o nsparse.o nssearch.o \
167		   nsutils.o nswalk.o nsxfeval.o nsxfname.o nsxfobj.o \
168		   rsaddr.o rscalc.o rscreate.o rsdump.o \
169		   rsio.o rsirq.o rslist.o rsmemory.o rsmisc.o \
170		   rsutils.o rsxface.o tbconvrt.o tbget.o tbgetall.o \
171		   tbinstal.o tbrsdt.o tbutils.o tbxface.o tbxfroot.o \
172		   utalloc.o utclib.o utcopy.o utdebug.o utdelete.o \
173		   uteval.o utglobal.o utinit.o utmath.o utmisc.o \
174		   utobject.o utxface.o acpica.o acpi_enum.o master_ops.o \
175		   osl.o osl_ml.o acpica_ec.o
176
177#
178#	Build up defines and paths.
179#
180ALL_DEFS	+= -Di86pc
181INC_PATH	+= -I$(UTSBASE)/i86pc
182
183#
184# Since assym.h is a derived file, the dependency must be explicit for
185# all files including this file. (This is only actually required in the
186# instance when the .nse_depinfo file does not exist.) It may seem that
187# the lint targets should also have a similar dependency, but they don't
188# since only C headers are included when #defined(__lint) is true.
189#
190ASSYM_DEPS      += 		\
191	copy.o			\
192	desctbls_asm.o		\
193	ddi_i86_asm.o		\
194	exception.o		\
195	fast_trap_asm.o		\
196	float.o			\
197	i86_subr.o		\
198	interrupt.o		\
199	lock_prim.o		\
200	locore.o		\
201	mpcore.o		\
202	sseblk.o		\
203	swtch.o			\
204	syscall_asm.o		\
205	syscall_asm_amd64.o
206