xref: /titanic_52/usr/src/uts/sun4u/Makefile.files (revision d58fda4376e4bf67072ce2e69f6f47036f9dbb68)
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 for the directory uts/sun4u
29#	and it's children. These are the source files which are sun4u
30#	"implementation architecture" dependent.
31#
32
33#
34#	object lists
35#
36CORE_OBJS +=	bootops.o
37CORE_OBJS +=	cmp.o
38CORE_OBJS +=	cpc_hwreg.o
39CORE_OBJS +=	cpc_subr.o
40CORE_OBJS +=	mach_cpu_states.o
41CORE_OBJS +=	mach_ddi_impl.o
42CORE_OBJS +=	ecc.o
43CORE_OBJS +=	fillsysinfo.o
44CORE_OBJS +=	forthdebug.o
45CORE_OBJS +=	hardclk.o
46CORE_OBJS +=	hat_sfmmu.o
47CORE_OBJS +=	hat_kdi.o
48CORE_OBJS +=	mach_copy.o
49CORE_OBJS +=	mach_float.o
50CORE_OBJS +=	mach_mp_startup.o
51CORE_OBJS +=	mach_mp_states.o
52CORE_OBJS +=	mach_sfmmu.o
53CORE_OBJS +=	mach_startup.o
54CORE_OBJS +=	mach_subr_asm.o
55CORE_OBJS +=	mach_trap.o
56CORE_OBJS +=	mach_vm_dep.o
57CORE_OBJS +=	mach_xc.o
58CORE_OBJS +=	mem_cage.o
59CORE_OBJS +=	mem_config.o
60CORE_OBJS +=	memlist_new.o
61CORE_OBJS +=	memscrub.o
62CORE_OBJS +=	memscrub_asm.o
63CORE_OBJS +=	ppage.o
64CORE_OBJS +=	sfmmu_kdi.o
65CORE_OBJS +=	swtch.o
66CORE_OBJS +=	xhat_sfmmu.o
67
68#
69#	Some objects must be linked at the front of the image (or
70#	near other objects at the front of the image).
71#
72SPECIAL_OBJS +=	trap_table.o
73SPECIAL_OBJS +=	locore.o
74SPECIAL_OBJS +=	mach_locore.o
75SPECIAL_OBJS +=	sfmmu_asm.o
76SPECIAL_OBJS +=	mach_sfmmu_asm.o
77SPECIAL_OBJS +=	interrupt.o
78SPECIAL_OBJS +=	mach_interrupt.o
79SPECIAL_OBJS +=	wbuf.o
80
81#
82#			driver modules
83#
84ROOTNEX_OBJS	+= mach_rootnex.o
85UPA64S_OBJS	+= upa64s.o
86SYSIO_SBUS_OBJS	+= iommu.o sysioerr.o sysiosbus.o iocache.o
87PX_OBJS		+= px_asm_4u.o px_err.o px_hlib.o px_lib4u.o px_tools_4u.o
88PCI_COMMON_OBJS	+= pci.o pci_util.o pci_dma.o pci_devctl.o \
89			pci_fdvma.o pci_iommu.o pci_sc.o pci_debug.o \
90			pci_cb.o pci_ib.o pci_ecc.o pci_pbm.o pci_intr.o \
91			pci_space.o pci_counters.o pci_axq.o \
92			pci_fm.o pci_reloc.o pci_tools.o pci_asm.o
93
94PSYCHO_PCI_OBJS	+= $(PCI_COMMON_OBJS) pcipsy.o
95SCHIZO_PCI_OBJS	+= $(PCI_COMMON_OBJS) pcisch_asm.o pcisch.o pcix.o
96SIMBA_PCI_OBJS	+= simba.o
97DB21554_OBJS	+= db21554.o
98US_OBJS 	+= us_drv.o
99POWER_OBJS	+= power.o
100EPIC_OBJS	+= epic.o
101GRBEEP_OBJS	+= grbeep.o
102ADM1031_OBJS	+= adm1031.o
103ICS951601_OBJS	+= ics951601.o
104PPM_OBJS	+= ppm_subr.o ppm.o
105GPTWOCFG_OBJS	+= gptwocfg.o
106GPTWO_CPU_OBJS	+= gptwo_cpu.o
107PCICFG_E_OBJS	+= pcicfg.e.o
108PCF8584_OBJS    += pcf8584.o
109MI2CV_OBJS	+= mi2cv.o
110I2BSC_OBJS	+= i2bsc.o
111PCA9556_OBJS    += pca9556.o
112ADM1026_OBJS	+= adm1026.o
113BBC_OBJS	+= bbc_beep.o
114TDA8444_OBJS    += tda8444.o
115MAX1617_OBJS    += max1617.o
116SEEPROM_OBJS	+= seeprom.o
117I2C_SVC_OBJS	+= i2c_svc.o
118SCMI2C_OBJS	+= scmi2c.o
119SMBUS_OBJS      += smbus.o
120SCHPPM_OBJS	+= schppm.o
121MC_OBJS		+= mc-us3.o mc-us3_asm.o
122MC_US3I_OBJS	+= mc-us3i.o
123GPIO_87317_OBJS	+= gpio_87317.o
124ISADMA_OBJS	+= isadma.o
125SBBC_OBJS	+= sbbc.o
126LM75_OBJS	+= lm75.o
127LTC1427_OBJS	+= ltc1427.o
128PIC16F747_OBJS	+= pic16f747.o
129PIC16F819_OBJS	+= pic16f819.o
130PCF8574_OBJS	+= pcf8574.o
131PCF8591_OBJS	+= pcf8591.o
132SMBUS_ARA_OBJS	+= smbus_ara.o
133SSC050_OBJS	+= ssc050.o
134SSC100_OBJS	+= ssc100.o
135PMUBUS_OBJS	+= pmubus.o
136PMUGPIO_OBJS	+= pmugpio.o
137RMC_COMM_OBJS	+= rmc_comm.o rmc_comm_crctab.o rmc_comm_dp.o rmc_comm_drvintf.o
138RMCLOMV_OBJS	+= rmclomv.o
139RMCADM_OBJS	+= rmcadm.o
140TODM5819P_RMC_OBJS	+= todm5819p_rmc.o
141PMC_OBJS	+= pmc.o
142TRAPSTAT_OBJS	+= trapstat.o
143WRSMD_OBJS	+= wrsmd.o
144WRSM_OBJS	+= wci_common.o \
145			wrsm_barrier.o \
146			wrsm_cf.o \
147			wrsm_cmmu.o \
148			wrsm_common.o \
149			wrsm_confpack.o \
150			wrsm_copy.o \
151			wrsm_driver.o \
152			wrsm_getput.o \
153			wrsm_intr.o \
154			wrsm_lc.o \
155			wrsm_memseg.o \
156			wrsm_memseg_export.o \
157			wrsm_memseg_import.o \
158			wrsm_mh.o \
159			wrsm_nc.o \
160			wrsm_nr.o \
161			wrsm_rsmpi.o \
162			wrsm_session.o \
163			wrsm_tl.o \
164			wrsm_trap.o
165MEMTEST_OBJS	+= memtest.o memtest_asm.o \
166			memtest_u.o memtest_u_asm.o \
167			memtest_ch.o memtest_ch_asm.o \
168			memtest_chp.o memtest_chp_asm.o \
169			memtest_ja.o memtest_ja_asm.o \
170			memtest_jg.o memtest_jg_asm.o \
171			memtest_pn.o memtest_pn_asm.o \
172			memtest_cmp.o memtest_cmp_asm.o \
173			memtest_sf.o memtest_sf_asm.o \
174			memtest_sr.o memtest_sr_asm.o
175ZULUVM_OBJS  	+= zuluvm.o zulu_asm.o zulu_hat.o zulu_hat_asm.o
176
177JBUSPPM_OBJS	+= jbusppm.o
178M1535PPM_OBJS	+= m1535ppm.o
179DMFE_OBJS	+= dmfe_log.o dmfe_main.o dmfe_mii.o dmfe_ndd.o
180CTSMC_OBJS	+= ctsmc_buf.o ctsmc_queue.o ctsmc_hw.o ctsmc_kstat.o \
181		ctsmc_cmdspec.o ctsmc_i2c.o ctsmc_minor.o ctsmc_stream.o \
182		ctsmc_ddi.o ctsmc_ipmlist.o ctsmc_seq.o
183
184#
185#			kernel cryptographic framework
186#
187
188AES_OBJS	+= aes.o aes_impl.o aes_cbc_crypt.o aes_crypt_asm.o
189
190DES_OBJS	+= des_crypt_asm.o
191
192ARCFOUR_OBJS	+= arcfour.o arcfour_crypt.o arcfour_crypt_asm.o
193
194SHA1_OBJS	+= sha1_asm.o
195
196RSAPROV_OBJS    += mont_mulf.o
197
198#
199#			tod modules
200#
201TODMOSTEK_OBJS	+= todmostek.o
202TODDS1287_OBJS	+= todds1287.o
203TODDS1337_OBJS	+= todds1337.o
204TODM5823_OBJS	+= todm5823.o
205TODSTARFIRE_OBJS += todstarfire.o
206TODBLADE_OBJS += todblade.o
207TODSG_OBJS += todsg.o
208TODSTARCAT_OBJS += todstarcat.o
209TODM5819_OBJS	+= todm5819.o
210TODBQ4802_OBJS	+= todbq4802.o
211
212#
213#			Misc modules
214#
215OBPSYM_OBJS	+= obpsym.o obpsym_1275.o
216BOOTDEV_OBJS	+= bootdev.o
217
218CPR_FIRST_OBJS	= cpr_resume_setup.o
219CPR_IMPL_OBJS	= cpr_impl.o
220
221SBD_OBJS	+= sbd.o sbd_cpu.o sbd_mem.o sbd_io.o
222
223#
224#			Performance Counter BackEnd (PCBE) Modules
225#
226US_PCBE_OBJS	= us234_pcbe.o
227
228#
229#			cpu modules
230#
231CPU_OBJ		+= $(OBJS_DIR)/mach_cpu_module.o
232SPITFIRE_OBJS 	= spitfire.o spitfire_asm.o spitfire_copy.o spitfire_kdi.o common_asm.o
233HUMMINGBIRD_OBJS= $(SPITFIRE_OBJS)
234US3_CMN_OBJS	= us3_common.o us3_common_mmu.o us3_common_asm.o us3_kdi.o cheetah_copy.o common_asm.o
235CHEETAH_OBJS 	= $(US3_CMN_OBJS) us3_cheetah.o us3_cheetah_asm.o
236CHEETAHPLUS_OBJS= $(US3_CMN_OBJS) us3_cheetahplus.o us3_cheetahplus_asm.o
237JALAPENO_OBJS   = $(US3_CMN_OBJS) us3_jalapeno.o us3_jalapeno_asm.o
238
239#
240#			platform module
241#
242PLATMOD_OBJS	= platmod.o
243
244#	Section 3:	Misc.
245#
246ALL_DEFS	+= -Dsun4u
247INC_PATH	+= -I$(UTSBASE)/sun4u
248
249#
250# Since assym.h is a derived file, the dependency must be explicit for
251# all files including this file. (This is only actually required in the
252# instance when the .make.state file does not exist.) It may seem that
253# the lint targets should also have a similar dependency, but they don't
254# since only C headers are included when #defined(lint) is true.
255#
256ASSYM_DEPS	+= mach_locore.o
257ASSYM_DEPS	+= module_sfmmu_asm.o
258ASSYM_DEPS	+= spitfire_asm.o spitfire_copy.o
259ASSYM_DEPS	+= cheetah_asm.o cheetah_copy.o
260ASSYM_DEPS	+= mach_subr_asm.o swtch.o
261ASSYM_DEPS	+= mach_interrupt.o mach_xc.o
262ASSYM_DEPS	+= trap_table.o wbuf.o
263ASSYM_DEPS	+= mach_sfmmu_asm.o sfmmu_asm.o memscrub_asm.o
264ASSYM_DEPS	+= mach_copy.o
265