xref: /titanic_50/usr/src/uts/sun4v/Makefile.files (revision 0917b783fd655a0c943e0b8fb848db2301774947)
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 2006 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/sun4v
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 +=	error.o
41CORE_OBJS +=	fillsysinfo.o
42CORE_OBJS +=	forthdebug.o
43CORE_OBJS +=	hardclk.o
44CORE_OBJS +=	hat_sfmmu.o
45CORE_OBJS +=	hat_kdi.o
46CORE_OBJS +=	hsvc.o
47CORE_OBJS +=	mach_cpu_states.o
48CORE_OBJS +=	mach_ddi_impl.o
49CORE_OBJS +=    mach_descrip.o
50CORE_OBJS +=	mach_float.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 +=	ppage.o
63CORE_OBJS +=	sfmmu_kdi.o
64CORE_OBJS +=	swtch.o
65CORE_OBJS +=	xhat_sfmmu.o
66
67CORE_OBJS +=	mdesc_findname.o
68CORE_OBJS +=	mdesc_findnodeprop.o
69CORE_OBJS +=	mdesc_fini.o
70CORE_OBJS +=	mdesc_getpropdata.o
71CORE_OBJS +=	mdesc_getpropstr.o
72CORE_OBJS +=	mdesc_getpropval.o
73CORE_OBJS +=	mdesc_init_intern.o
74CORE_OBJS +=	mdesc_nodecount.o
75CORE_OBJS +=	mdesc_rootnode.o
76CORE_OBJS +=	mdesc_scandag.o
77
78#
79#	Some objects must be linked at the front of the image (or
80#	near other objects at the front of the image).
81#
82SPECIAL_OBJS +=	trap_table.o
83SPECIAL_OBJS +=	locore.o
84SPECIAL_OBJS +=	mach_locore.o
85SPECIAL_OBJS +=	sfmmu_asm.o
86SPECIAL_OBJS +=	mach_sfmmu_asm.o
87SPECIAL_OBJS +=	interrupt.o
88SPECIAL_OBJS +=	mach_interrupt.o
89SPECIAL_OBJS +=	wbuf.o
90SPECIAL_OBJS += hcall.o
91SPECIAL_OBJS += intrq.o
92
93#
94#			driver modules
95#
96ROOTNEX_OBJS	+= mach_rootnex.o
97PX_OBJS		+= px_asm_4v.o px_err.o px_lib4v.o px_tools_4v.o
98FPC_OBJS	+= fpc-impl-4v.o fpc-asm-4v.o
99TRAPSTAT_OBJS	+= trapstat.o
100
101#
102# 			CPU/Memory Error Injector (memtest) sun4v driver
103#
104MEMTEST_OBJS	+= memtest.o memtest_asm.o \
105			memtest_v.o memtest_v_asm.o \
106			memtest_ni.o memtest_ni_asm.o
107
108#
109#			sun4v virtual devices
110#
111QCN_OBJS	= qcn.o
112VNEX_OBJS	= vnex.o
113GLVC_OBJS	= glvc.o
114MDESC_OBJS	= mdesc.o
115
116#
117#			Misc modules
118#
119OBPSYM_OBJS	+= obpsym.o obpsym_1275.o
120BOOTDEV_OBJS	+= bootdev.o
121
122#
123#			Performance Counter BackEnd (PCBE) Modules
124#
125NI_PCBE_OBJS	= niagara_pcbe.o
126
127#
128#			cpu modules
129# XXXQ Make generic4vcpu
130#
131CPU_OBJ		+= $(OBJS_DIR)/mach_cpu_module.o
132GENERIC_OBJS = generic.o generic_copy.o common_asm.o
133NIAGARACPU_OBJS = niagara.o niagara_copy.o common_asm.o niagara_perfctr.o
134NIAGARACPU_OBJS += niagara_asm.o
135
136#
137#			platform module
138#
139PLATMOD_OBJS	= platmod.o
140
141#	Section 3:	Misc.
142#
143ALL_DEFS	+= -Dsun4u -Dsun4v
144INC_PATH	+= -I$(UTSBASE)/sun4v
145
146#
147# Since assym.h is a derived file, the dependency must be explicit for
148# all files including this file. (This is only actually required in the
149# instance when the .make.state file does not exist.) It may seem that
150# the lint targets should also have a similar dependency, but they don't
151# since only C headers are included when #defined(lint) is true.
152#
153ASSYM_DEPS	+= mach_locore.o
154ASSYM_DEPS	+= module_sfmmu_asm.o
155ASSYM_DEPS	+= generic_asm.o generic_copy.o
156ASSYM_DEPS	+= niagara_copy.o niagara_asm.o
157ASSYM_DEPS	+= mach_subr_asm.o swtch.o
158ASSYM_DEPS	+= mach_interrupt.o mach_xc.o
159ASSYM_DEPS	+= trap_table.o wbuf.o
160ASSYM_DEPS	+= mach_sfmmu_asm.o sfmmu_asm.o
161
162#
163#			kernel cryptographic framework
164#
165
166ARCFOUR_OBJS	+= arcfour.o arcfour_crypt.o
167
168