summaryrefslogtreecommitdiff
path: root/usr/src/uts/sun4u/Makefile.files
blob: f6b6dc23230177f5055de2cc77433580d6922d3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License, Version 1.0 only
# (the "License").  You may not use this file except in compliance
# with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#
#ident	"%Z%%M%	%I%	%E% SMI"
#
#	This Makefile defines all file modules for the directory uts/sun4u
#	and it's children. These are the source files which are sun4u
#	"implementation architecture" dependent.
#

#
#	object lists
#
CORE_OBJS +=	bootops.o
CORE_OBJS +=	cmp.o
CORE_OBJS +=	cpc_hwreg.o
CORE_OBJS +=	cpc_subr.o
CORE_OBJS +=	mach_cpu_states.o
CORE_OBJS +=	mach_ddi_impl.o
CORE_OBJS +=	ecc.o
CORE_OBJS +=	fillsysinfo.o
CORE_OBJS +=	forthdebug.o
CORE_OBJS +=	hardclk.o
CORE_OBJS +=	hat_sfmmu.o
CORE_OBJS +=	hat_kdi.o
CORE_OBJS +=	mach_copy.o
CORE_OBJS +=	mach_float.o
CORE_OBJS +=	mach_mp_startup.o
CORE_OBJS +=	mach_mp_states.o
CORE_OBJS +=	mach_sfmmu.o
CORE_OBJS +=	mach_startup.o
CORE_OBJS +=	mach_subr_asm.o
CORE_OBJS +=	mach_trap.o
CORE_OBJS +=	mach_vm_dep.o
CORE_OBJS +=	mach_xc.o
CORE_OBJS +=	mem_cage.o
CORE_OBJS +=	mem_config.o
CORE_OBJS +=	memlist_new.o
CORE_OBJS +=	memscrub.o
CORE_OBJS +=	memscrub_asm.o
CORE_OBJS +=	ppage.o
CORE_OBJS +=	sfmmu_kdi.o
CORE_OBJS +=	swtch.o
CORE_OBJS +=	xhat_sfmmu.o

#
#	Some objects must be linked at the front of the image (or
#	near other objects at the front of the image).
#
SPECIAL_OBJS +=	trap_table.o
SPECIAL_OBJS +=	locore.o
SPECIAL_OBJS +=	mach_locore.o
SPECIAL_OBJS +=	sfmmu_asm.o
SPECIAL_OBJS +=	mach_sfmmu_asm.o
SPECIAL_OBJS +=	interrupt.o
SPECIAL_OBJS +=	mach_interrupt.o
SPECIAL_OBJS +=	wbuf.o

#
#			driver modules
#
ROOTNEX_OBJS	+= mach_rootnex.o
UPA64S_OBJS	+= upa64s.o
SYSIO_SBUS_OBJS	+= iommu.o sysioerr.o sysiosbus.o iocache.o
PX_OBJS		+= px_asm_4u.o px_err.o px_hlib.o px_lib4u.o px_tools_4u.o
PCI_COMMON_OBJS	+= pci.o pci_util.o pci_dma.o pci_devctl.o \
			pci_fdvma.o pci_iommu.o pci_sc.o pci_debug.o \
			pci_cb.o pci_ib.o pci_ecc.o pci_pbm.o pci_intr.o \
			pci_space.o pci_counters.o pci_axq.o \
			pci_fm.o pci_reloc.o pci_tools.o pci_asm.o

PSYCHO_PCI_OBJS	+= $(PCI_COMMON_OBJS) pcipsy.o
SCHIZO_PCI_OBJS	+= $(PCI_COMMON_OBJS) pcisch_asm.o pcisch.o pcix.o
SIMBA_PCI_OBJS	+= simba.o
DB21554_OBJS	+= db21554.o
US_OBJS 	+= us_drv.o
POWER_OBJS	+= power.o
EPIC_OBJS	+= epic.o
GRBEEP_OBJS	+= grbeep.o
ADM1031_OBJS	+= adm1031.o
ICS951601_OBJS	+= ics951601.o
PPM_OBJS	+= ppm_subr.o ppm.o
GPTWOCFG_OBJS	+= gptwocfg.o
GPTWO_CPU_OBJS	+= gptwo_cpu.o
PCICFG_E_OBJS	+= pcicfg.e.o
PCF8584_OBJS    += pcf8584.o
MI2CV_OBJS	+= mi2cv.o
I2BSC_OBJS	+= i2bsc.o
PCA9556_OBJS    += pca9556.o
ADM1026_OBJS	+= adm1026.o
BBC_OBJS	+= bbc_beep.o
TDA8444_OBJS    += tda8444.o
MAX1617_OBJS    += max1617.o
SEEPROM_OBJS	+= seeprom.o
I2C_SVC_OBJS	+= i2c_svc.o
SCMI2C_OBJS	+= scmi2c.o
SMBUS_OBJS      += smbus.o
SCHPPM_OBJS	+= schppm.o
MC_OBJS		+= mc-us3.o mc-us3_asm.o
MC_US3I_OBJS	+= mc-us3i.o
GPIO_87317_OBJS	+= gpio_87317.o
ISADMA_OBJS	+= isadma.o
SBBC_OBJS	+= sbbc.o
LM75_OBJS	+= lm75.o
LTC1427_OBJS	+= ltc1427.o
PIC16F747_OBJS	+= pic16f747.o
PIC16F819_OBJS	+= pic16f819.o
PCF8574_OBJS	+= pcf8574.o
PCF8591_OBJS	+= pcf8591.o
SMBUS_ARA_OBJS	+= smbus_ara.o
SSC050_OBJS	+= ssc050.o
SSC100_OBJS	+= ssc100.o
PMUBUS_OBJS	+= pmubus.o
PMUGPIO_OBJS	+= pmugpio.o
RMC_COMM_OBJS	+= rmc_comm.o rmc_comm_crctab.o rmc_comm_dp.o rmc_comm_drvintf.o
RMCLOMV_OBJS	+= rmclomv.o
RMCADM_OBJS	+= rmcadm.o
TODM5819P_RMC_OBJS	+= todm5819p_rmc.o
PMC_OBJS	+= pmc.o
TRAPSTAT_OBJS	+= trapstat.o
WRSMD_OBJS	+= wrsmd.o
WRSM_OBJS	+= wci_common.o \
			wrsm_barrier.o \
			wrsm_cf.o \
			wrsm_cmmu.o \
			wrsm_common.o \
			wrsm_confpack.o \
			wrsm_copy.o \
			wrsm_driver.o \
			wrsm_getput.o \
			wrsm_intr.o \
			wrsm_lc.o \
			wrsm_memseg.o \
			wrsm_memseg_export.o \
			wrsm_memseg_import.o \
			wrsm_mh.o \
			wrsm_nc.o \
			wrsm_nr.o \
			wrsm_rsmpi.o \
			wrsm_session.o \
			wrsm_tl.o \
			wrsm_trap.o
MEMTEST_OBJS	+= memtest.o memtest_asm.o \
			memtest_u.o memtest_u_asm.o \
			memtest_ch.o memtest_ch_asm.o \
			memtest_chp.o memtest_chp_asm.o \
			memtest_ja.o memtest_ja_asm.o \
			memtest_jg.o memtest_jg_asm.o \
			memtest_pn.o memtest_pn_asm.o \
			memtest_cmp.o memtest_cmp_asm.o \
			memtest_sf.o memtest_sf_asm.o \
			memtest_sr.o memtest_sr_asm.o
ZULUVM_OBJS  	+= zuluvm.o zulu_asm.o zulu_hat.o zulu_hat_asm.o

JBUSPPM_OBJS	+= jbusppm.o 
M1535PPM_OBJS	+= m1535ppm.o 
DMFE_OBJS	+= dmfe_log.o dmfe_main.o dmfe_mii.o dmfe_ndd.o
CTSMC_OBJS	+= ctsmc_buf.o ctsmc_queue.o ctsmc_hw.o ctsmc_kstat.o \
		ctsmc_cmdspec.o ctsmc_i2c.o ctsmc_minor.o ctsmc_stream.o \
		ctsmc_ddi.o ctsmc_ipmlist.o ctsmc_seq.o

#
#			kernel cryptographic framework
#

AES_OBJS	+= aes.o aes_impl.o aes_cbc_crypt.o aes_crypt_asm.o

DES_OBJS	+= des_crypt_asm.o

ARCFOUR_OBJS	+= arcfour.o arcfour_crypt.o arcfour_crypt_asm.o

SHA1_OBJS	+= sha1_asm.o

RSAPROV_OBJS    += mont_mulf.o

#
#			tod modules
#
TODMOSTEK_OBJS	+= todmostek.o
TODDS1287_OBJS	+= todds1287.o
TODDS1337_OBJS	+= todds1337.o
TODM5823_OBJS	+= todm5823.o
TODSTARFIRE_OBJS += todstarfire.o
TODBLADE_OBJS += todblade.o
TODSG_OBJS += todsg.o
TODSTARCAT_OBJS += todstarcat.o
TODM5819_OBJS	+= todm5819.o
TODBQ4802_OBJS	+= todbq4802.o

#
#			Misc modules
#
OBPSYM_OBJS	+= obpsym.o obpsym_1275.o
BOOTDEV_OBJS	+= bootdev.o

CPR_FIRST_OBJS	= cpr_resume_setup.o
CPR_IMPL_OBJS	= cpr_impl.o

SBD_OBJS	+= sbd.o sbd_cpu.o sbd_mem.o sbd_io.o

#
#			Performance Counter BackEnd (PCBE) Modules
#
US_PCBE_OBJS	= us234_pcbe.o

#
#			cpu modules
#
CPU_OBJ		+= $(OBJS_DIR)/mach_cpu_module.o
SPITFIRE_OBJS 	= spitfire.o spitfire_asm.o spitfire_copy.o spitfire_kdi.o common_asm.o
HUMMINGBIRD_OBJS= $(SPITFIRE_OBJS)
US3_CMN_OBJS	= us3_common.o us3_common_mmu.o us3_common_asm.o us3_kdi.o cheetah_copy.o common_asm.o
CHEETAH_OBJS 	= $(US3_CMN_OBJS) us3_cheetah.o us3_cheetah_asm.o
CHEETAHPLUS_OBJS= $(US3_CMN_OBJS) us3_cheetahplus.o us3_cheetahplus_asm.o
JALAPENO_OBJS   = $(US3_CMN_OBJS) us3_jalapeno.o us3_jalapeno_asm.o

#
#			platform module
#
PLATMOD_OBJS	= platmod.o

#	Section 3:	Misc.
#
ALL_DEFS	+= -Dsun4u
INC_PATH	+= -I$(UTSBASE)/sun4u

#
# Since assym.h is a derived file, the dependency must be explicit for
# all files including this file. (This is only actually required in the
# instance when the .make.state file does not exist.) It may seem that
# the lint targets should also have a similar dependency, but they don't
# since only C headers are included when #defined(lint) is true.
#
ASSYM_DEPS	+= mach_locore.o
ASSYM_DEPS	+= module_sfmmu_asm.o
ASSYM_DEPS	+= spitfire_asm.o spitfire_copy.o
ASSYM_DEPS	+= cheetah_asm.o cheetah_copy.o
ASSYM_DEPS	+= mach_subr_asm.o swtch.o
ASSYM_DEPS	+= mach_interrupt.o mach_xc.o
ASSYM_DEPS	+= trap_table.o wbuf.o
ASSYM_DEPS	+= mach_sfmmu_asm.o sfmmu_asm.o memscrub_asm.o
ASSYM_DEPS	+= mach_copy.o