xref: /titanic_41/usr/src/uts/sun4u/Makefile.files (revision 1816cb7076d3ec8a78ef9ac9f895574e13c43645)
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 2009 Sun Microsystems, Inc.  All rights reserved.
24# Use is subject to license terms.
25#
26#	This Makefile defines all file modules for the directory uts/sun4u
27#	and it's children. These are the source files which are sun4u
28#	"implementation architecture" dependent.
29#
30
31#
32#	object lists
33#
34CORE_OBJS +=	atomic.o
35CORE_OBJS +=	bootops.o
36CORE_OBJS +=	cmp.o
37CORE_OBJS +=	cpc_hwreg.o
38CORE_OBJS +=	cpc_subr.o
39CORE_OBJS +=	cpupm.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 +=	iscsi_boot.o
49CORE_OBJS +=	mach_copy.o
50CORE_OBJS +=	mach_kpm.o
51CORE_OBJS +=	mach_mp_startup.o
52CORE_OBJS +=	mach_mp_states.o
53CORE_OBJS +=	mach_sfmmu.o
54CORE_OBJS +=	mach_startup.o
55CORE_OBJS +=	mach_subr_asm.o
56CORE_OBJS +=	mach_trap.o
57CORE_OBJS +=	mach_vm_dep.o
58CORE_OBJS +=	mach_xc.o
59CORE_OBJS +=	mem_cage.o
60CORE_OBJS +=	mem_config.o
61CORE_OBJS +=	memlist_new.o
62CORE_OBJS +=	memscrub.o
63CORE_OBJS +=	memscrub_asm.o
64CORE_OBJS +=	ppage.o
65CORE_OBJS +=	sfmmu_kdi.o
66CORE_OBJS +=	swtch.o
67CORE_OBJS +=	xhat_sfmmu.o
68
69#
70#	Some objects must be linked at the front of the image (or
71#	near other objects at the front of the image).
72#
73SPECIAL_OBJS +=	trap_table.o
74SPECIAL_OBJS +=	locore.o
75SPECIAL_OBJS +=	mach_locore.o
76SPECIAL_OBJS +=	sfmmu_asm.o
77SPECIAL_OBJS +=	mach_sfmmu_asm.o
78SPECIAL_OBJS +=	interrupt.o
79SPECIAL_OBJS +=	mach_interrupt.o
80SPECIAL_OBJS +=	wbuf.o
81
82#
83#			driver modules
84#
85ROOTNEX_OBJS	+= mach_rootnex.o
86UPA64S_OBJS	+= upa64s.o
87SYSIO_SBUS_OBJS	+= iommu.o sysioerr.o sysiosbus.o iocache.o
88PX_OBJS		+= px_asm_4u.o px_err.o px_hlib.o px_lib4u.o px_tools_4u.o
89PCI_COMMON_OBJS	+= pci.o pci_util.o pci_dma.o pci_devctl.o \
90			pci_fdvma.o pci_iommu.o pci_sc.o pci_debug.o \
91			pci_cb.o pci_ib.o pci_ecc.o pci_pbm.o pci_intr.o \
92			pci_space.o pci_counters.o pci_axq.o \
93			pci_fm.o pci_reloc.o pci_tools.o pci_asm.o
94RMCLOMV_OBJS	+= rmclomv.o
95
96PSYCHO_PCI_OBJS	+= $(PCI_COMMON_OBJS) pcipsy.o
97SCHIZO_PCI_OBJS	+= $(PCI_COMMON_OBJS) pcisch_asm.o pcisch.o pcix.o
98SIMBA_PCI_OBJS	+= simba.o
99DB21554_OBJS	+= db21554.o
100US_OBJS 	+= cpudrv.o cpudrv_mach.o
101POWER_OBJS	+= power.o
102EPIC_OBJS	+= epic.o
103GRBEEP_OBJS	+= grbeep.o
104ADM1031_OBJS	+= adm1031.o
105ICS951601_OBJS	+= ics951601.o
106PPM_OBJS	+= ppm_subr.o ppm.o ppm_plat.o
107OPLCFG_OBJS	+= opl_cfg.o
108PCF8584_OBJS    += pcf8584.o
109PCA9556_OBJS    += pca9556.o
110ADM1026_OBJS	+= adm1026.o
111BBC_OBJS	+= bbc_beep.o
112TDA8444_OBJS    += tda8444.o
113MAX1617_OBJS    += max1617.o
114SEEPROM_OBJS	+= seeprom.o
115I2C_SVC_OBJS	+= i2c_svc.o
116SMBUS_OBJS      += smbus.o
117SCHPPM_OBJS	+= schppm.o
118MC_OBJS		+= mc-us3.o mc-us3_asm.o
119MC_US3I_OBJS	+= mc-us3i.o
120GPIO_87317_OBJS	+= gpio_87317.o
121ISADMA_OBJS	+= isadma.o
122SBBC_OBJS	+= sbbc.o
123LM75_OBJS	+= lm75.o
124LTC1427_OBJS	+= ltc1427.o
125PIC16F747_OBJS	+= pic16f747.o
126PIC16F819_OBJS	+= pic16f819.o
127PCF8574_OBJS	+= pcf8574.o
128PCF8591_OBJS	+= pcf8591.o
129SSC050_OBJS	+= ssc050.o
130SSC100_OBJS	+= ssc100.o
131PMUBUS_OBJS	+= pmubus.o
132PMUGPIO_OBJS	+= pmugpio.o
133PMC_OBJS	+= pmc.o
134TRAPSTAT_OBJS	+= trapstat.o
135I2BSC_OBJS	+= i2bsc.o
136GPTWOCFG_OBJS	+= gptwocfg.o
137GPTWO_CPU_OBJS	+= gptwo_cpu.o
138ZULUVM_OBJS  	+= zuluvm.o zulu_asm.o zulu_hat.o zulu_hat_asm.o
139
140JBUSPPM_OBJS	+= jbusppm.o
141RMC_COMM_OBJS	+= rmc_comm.o rmc_comm_crctab.o rmc_comm_dp.o rmc_comm_drvintf.o
142RMCADM_OBJS	+= rmcadm.o
143MEM_CACHE_OBJS	+= mem_cache.o panther_asm.o
144
145#
146#			kernel cryptographic framework
147#
148
149BIGNUM_PSR_OBJS	+= mont_mulf_kernel_v9.o
150
151AES_OBJS	+= aes.o aes_impl.o aes_modes.o aes_crypt_asm.o fips_aes_util.o
152
153DES_OBJS	+= des_crypt_asm.o
154
155ARCFOUR_OBJS	+= arcfour.o arcfour_crypt.o arcfour_crypt_asm.o
156
157SHA1_OBJS	+= sha1_asm.o
158
159#
160#			tod modules
161#
162TODMOSTEK_OBJS	+= todmostek.o
163TODDS1287_OBJS	+= todds1287.o
164TODDS1337_OBJS	+= todds1337.o
165TODSTARFIRE_OBJS += todstarfire.o
166TODSTARCAT_OBJS	+= todstarcat.o
167TODBLADE_OBJS	+= todblade.o
168TODM5819_OBJS	+= todm5819.o
169TODM5819P_RMC_OBJS	+= todm5819p_rmc.o
170TODBQ4802_OBJS	+= todbq4802.o
171TODSG_OBJS	+= todsg.o
172TODOPL_OBJS	= todopl.o
173
174#
175#			Misc modules
176#
177OBPSYM_OBJS	+= obpsym.o obpsym_1275.o
178BOOTDEV_OBJS	+= bootdev.o
179
180CPR_FIRST_OBJS	= cpr_resume_setup.o
181CPR_IMPL_OBJS	= cpr_impl.o
182
183SBD_OBJS	+= sbd.o sbd_cpu.o sbd_mem.o sbd_io.o
184
185#
186#			Brand modules
187#
188SN1_BRAND_OBJS	= sn1_brand.o sn1_brand_asm.o
189
190#
191#			Performance Counter BackEnd (PCBE) Modules
192#
193US_PCBE_OBJS	= us234_pcbe.o
194OPL_PCBE_OBJS	= opl_pcbe.o
195
196#
197#			cpu modules
198#
199CPU_OBJ		+= $(OBJS_DIR)/mach_cpu_module.o
200SPITFIRE_OBJS 	= spitfire.o spitfire_asm.o spitfire_copy.o spitfire_kdi.o common_asm.o
201HUMMINGBIRD_OBJS= $(SPITFIRE_OBJS)
202US3_CMN_OBJS	= us3_common.o us3_common_mmu.o us3_common_asm.o us3_kdi.o cheetah_copy.o common_asm.o
203CHEETAH_OBJS 	= $(US3_CMN_OBJS) us3_cheetah.o us3_cheetah_asm.o
204CHEETAHPLUS_OBJS= $(US3_CMN_OBJS) us3_cheetahplus.o us3_cheetahplus_asm.o
205JALAPENO_OBJS   = $(US3_CMN_OBJS) us3_jalapeno.o us3_jalapeno_asm.o
206OLYMPUS_OBJS	= opl_olympus.o opl_olympus_asm.o opl_olympus_copy.o \
207		  opl_kdi.o common_asm.o
208
209#
210#			platform module
211#
212PLATMOD_OBJS	= platmod.o
213
214#	Section 3:	Misc.
215#
216ALL_DEFS	+= -Dsun4u
217INC_PATH	+= -I$(UTSBASE)/sun4u
218
219#
220# Since assym.h is a derived file, the dependency must be explicit for
221# all files including this file. (This is only actually required in the
222# instance when the .make.state file does not exist.) It may seem that
223# the lint targets should also have a similar dependency, but they don't
224# since only C headers are included when #defined(lint) is true.
225#
226ASSYM_DEPS	+= mach_locore.o
227ASSYM_DEPS	+= module_sfmmu_asm.o
228ASSYM_DEPS	+= spitfire_asm.o spitfire_copy.o
229ASSYM_DEPS	+= cheetah_asm.o cheetah_copy.o
230ASSYM_DEPS	+= mach_subr_asm.o swtch.o
231ASSYM_DEPS	+= mach_interrupt.o mach_xc.o
232ASSYM_DEPS	+= trap_table.o wbuf.o
233ASSYM_DEPS	+= mach_sfmmu_asm.o sfmmu_asm.o memscrub_asm.o
234ASSYM_DEPS	+= mach_copy.o
235