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