xref: /titanic_44/usr/src/uts/sun4v/Makefile.files (revision c36bd4ef54329d6af405a11302d4d4bbf1bc65c7)
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_lib4v.o px_err.o
97TRAPSTAT_OBJS	+= trapstat.o
98
99#
100#			sun4v virtual devices
101#
102QCN_OBJS	= qcn.o
103VNEX_OBJS	= vnex.o
104GLVC_OBJS	= glvc.o
105MDESC_OBJS	= mdesc.o
106NCP_OBJS	= ncp.o ncp_kcf.o ncp_debug.o ncp_kstat.o ncp_rsa.o \
107		  ncp_dsa.o bignumimpl.o
108
109#
110#			Misc modules
111#
112OBPSYM_OBJS	+= obpsym.o obpsym_1275.o
113BOOTDEV_OBJS	+= bootdev.o
114
115#
116#			Performance Counter BackEnd (PCBE) Modules
117#
118NI_PCBE_OBJS	= niagara_pcbe.o
119
120#
121#			cpu modules
122# XXXQ Make generic4vcpu
123#
124CPU_OBJ		+= $(OBJS_DIR)/mach_cpu_module.o
125GENERIC_OBJS = generic.o generic_copy.o common_asm.o
126NIAGARACPU_OBJS = niagara.o niagara_copy.o common_asm.o niagara_perfctr.o
127NIAGARACPU_OBJS += niagara_asm.o
128
129#
130#			platform module
131#
132PLATMOD_OBJS	= platmod.o
133
134#	Section 3:	Misc.
135#
136ALL_DEFS	+= -Dsun4u -Dsun4v
137INC_PATH	+= -I$(UTSBASE)/sun4v
138
139#
140# Since assym.h is a derived file, the dependency must be explicit for
141# all files including this file. (This is only actually required in the
142# instance when the .make.state file does not exist.) It may seem that
143# the lint targets should also have a similar dependency, but they don't
144# since only C headers are included when #defined(lint) is true.
145#
146ASSYM_DEPS	+= mach_locore.o
147ASSYM_DEPS	+= module_sfmmu_asm.o
148ASSYM_DEPS	+= generic_asm.o generic_copy.o
149ASSYM_DEPS	+= niagara_copy.o niagara_asm.o
150ASSYM_DEPS	+= mach_subr_asm.o swtch.o
151ASSYM_DEPS	+= mach_interrupt.o mach_xc.o
152ASSYM_DEPS	+= trap_table.o wbuf.o
153ASSYM_DEPS	+= mach_sfmmu_asm.o sfmmu_asm.o
154