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