xref: /titanic_51/usr/src/uts/sun4v/Makefile.files (revision fa9e4066f08beec538e775443c5be79dd423fcab)
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/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 +=	mach_cpu_states.o
47CORE_OBJS +=	mach_ddi_impl.o
48CORE_OBJS +=    mach_descrip.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 +=	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_asm_4v.o px_err.o px_lib4v.o px_tools_4v.o
97TRAPSTAT_OBJS	+= trapstat.o
98
99#
100# 			CPU/Memory Error Injector (memtest) sun4v driver
101#
102MEMTEST_OBJS	+= memtest.o memtest_asm.o \
103			memtest_v.o memtest_v_asm.o \
104			memtest_ni.o memtest_ni_asm.o
105
106#
107#			sun4v virtual devices
108#
109QCN_OBJS	= qcn.o
110VNEX_OBJS	= vnex.o
111GLVC_OBJS	= glvc.o
112MDESC_OBJS	= mdesc.o
113NCP_OBJS	= ncp.o ncp_kcf.o ncp_debug.o ncp_kstat.o ncp_rsa.o \
114		  ncp_dsa.o bignumimpl.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