Home | History | Annotate | Download | only in sun4u
      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 2008 Sun Microsystems, Inc.  All rights reserved.
     24 # Use is subject to license terms.
     25 #
     26 #	This Makefile defines all file modules for the directory uts/sun4u
     27 #	and it's children. These are the source files which are sun4u
     28 #	"implementation architecture" dependent.
     29 #
     30 
     31 #
     32 #	object lists
     33 #
     34 CORE_OBJS +=	atomic.o
     35 CORE_OBJS +=	bootops.o
     36 CORE_OBJS +=	cmp.o
     37 CORE_OBJS +=	cpc_hwreg.o
     38 CORE_OBJS +=	cpc_subr.o
     39 CORE_OBJS +=	mach_cpu_states.o
     40 CORE_OBJS +=	mach_ddi_impl.o
     41 CORE_OBJS +=	ecc.o
     42 CORE_OBJS +=	fillsysinfo.o
     43 CORE_OBJS +=	forthdebug.o
     44 CORE_OBJS +=	hardclk.o
     45 CORE_OBJS +=	hat_sfmmu.o
     46 CORE_OBJS +=	hat_kdi.o
     47 CORE_OBJS +=	mach_copy.o
     48 CORE_OBJS +=	mach_kpm.o
     49 CORE_OBJS +=	mach_mp_startup.o
     50 CORE_OBJS +=	mach_mp_states.o
     51 CORE_OBJS +=	mach_sfmmu.o
     52 CORE_OBJS +=	mach_startup.o
     53 CORE_OBJS +=	mach_subr_asm.o
     54 CORE_OBJS +=	mach_trap.o
     55 CORE_OBJS +=	mach_vm_dep.o
     56 CORE_OBJS +=	mach_xc.o
     57 CORE_OBJS +=	mem_cage.o
     58 CORE_OBJS +=	mem_config.o
     59 CORE_OBJS +=	memlist_new.o
     60 CORE_OBJS +=	memscrub.o
     61 CORE_OBJS +=	memscrub_asm.o
     62 CORE_OBJS +=	ppage.o
     63 CORE_OBJS +=	sfmmu_kdi.o
     64 CORE_OBJS +=	swtch.o
     65 CORE_OBJS +=	xhat_sfmmu.o
     66 
     67 #
     68 #	Some objects must be linked at the front of the image (or
     69 #	near other objects at the front of the image).
     70 #
     71 SPECIAL_OBJS +=	trap_table.o
     72 SPECIAL_OBJS +=	locore.o
     73 SPECIAL_OBJS +=	mach_locore.o
     74 SPECIAL_OBJS +=	sfmmu_asm.o
     75 SPECIAL_OBJS +=	mach_sfmmu_asm.o
     76 SPECIAL_OBJS +=	interrupt.o
     77 SPECIAL_OBJS +=	mach_interrupt.o
     78 SPECIAL_OBJS +=	wbuf.o
     79 
     80 #
     81 #			driver modules
     82 #
     83 ROOTNEX_OBJS	+= mach_rootnex.o
     84 UPA64S_OBJS	+= upa64s.o
     85 SYSIO_SBUS_OBJS	+= iommu.o sysioerr.o sysiosbus.o iocache.o
     86 PX_OBJS		+= px_asm_4u.o px_err.o px_hlib.o px_lib4u.o px_tools_4u.o
     87 PCI_COMMON_OBJS	+= pci.o pci_util.o pci_dma.o pci_devctl.o \
     88 			pci_fdvma.o pci_iommu.o pci_sc.o pci_debug.o \
     89 			pci_cb.o pci_ib.o pci_ecc.o pci_pbm.o pci_intr.o \
     90 			pci_space.o pci_counters.o pci_axq.o \
     91 			pci_fm.o pci_reloc.o pci_tools.o pci_asm.o
     92 RMCLOMV_OBJS	+= rmclomv.o
     93 
     94 PSYCHO_PCI_OBJS	+= $(PCI_COMMON_OBJS) pcipsy.o
     95 SCHIZO_PCI_OBJS	+= $(PCI_COMMON_OBJS) pcisch_asm.o pcisch.o pcix.o
     96 SIMBA_PCI_OBJS	+= simba.o
     97 DB21554_OBJS	+= db21554.o
     98 US_OBJS 	+= cpudrv.o cpudrv_mach.o
     99 POWER_OBJS	+= power.o
    100 EPIC_OBJS	+= epic.o
    101 GRBEEP_OBJS	+= grbeep.o
    102 ADM1031_OBJS	+= adm1031.o
    103 ICS951601_OBJS	+= ics951601.o
    104 PPM_OBJS	+= ppm_subr.o ppm.o ppm_plat.o
    105 OPLCFG_OBJS	+= opl_cfg.o
    106 PCF8584_OBJS    += pcf8584.o
    107 PCA9556_OBJS    += pca9556.o
    108 ADM1026_OBJS	+= adm1026.o
    109 BBC_OBJS	+= bbc_beep.o
    110 TDA8444_OBJS    += tda8444.o
    111 MAX1617_OBJS    += max1617.o
    112 SEEPROM_OBJS	+= seeprom.o
    113 I2C_SVC_OBJS	+= i2c_svc.o
    114 SMBUS_OBJS      += smbus.o
    115 SCHPPM_OBJS	+= schppm.o
    116 MC_OBJS		+= mc-us3.o mc-us3_asm.o
    117 MC_US3I_OBJS	+= mc-us3i.o
    118 GPIO_87317_OBJS	+= gpio_87317.o
    119 ISADMA_OBJS	+= isadma.o
    120 SBBC_OBJS	+= sbbc.o
    121 LM75_OBJS	+= lm75.o
    122 LTC1427_OBJS	+= ltc1427.o
    123 PIC16F747_OBJS	+= pic16f747.o
    124 PIC16F819_OBJS	+= pic16f819.o
    125 PCF8574_OBJS	+= pcf8574.o
    126 PCF8591_OBJS	+= pcf8591.o
    127 SSC050_OBJS	+= ssc050.o
    128 SSC100_OBJS	+= ssc100.o
    129 PMUBUS_OBJS	+= pmubus.o
    130 PMUGPIO_OBJS	+= pmugpio.o
    131 PMC_OBJS	+= pmc.o
    132 TRAPSTAT_OBJS	+= trapstat.o
    133 I2BSC_OBJS	+= i2bsc.o
    134 GPTWOCFG_OBJS	+= gptwocfg.o
    135 GPTWO_CPU_OBJS	+= gptwo_cpu.o
    136 ZULUVM_OBJS  	+= zuluvm.o zulu_asm.o zulu_hat.o zulu_hat_asm.o
    137 
    138 JBUSPPM_OBJS	+= jbusppm.o 
    139 RMC_COMM_OBJS	+= rmc_comm.o rmc_comm_crctab.o rmc_comm_dp.o rmc_comm_drvintf.o
    140 RMCADM_OBJS	+= rmcadm.o
    141 MEM_CACHE_OBJS	+= mem_cache.o panther_asm.o
    142 
    143 #
    144 #			kernel cryptographic framework
    145 #
    146 
    147 BIGNUM_PSR_OBJS	+= mont_mulf_kernel_v9.o
    148 
    149 AES_OBJS	+= aes.o aes_impl.o aes_crypt_asm.o
    150 
    151 DES_OBJS	+= des_crypt_asm.o
    152 
    153 ARCFOUR_OBJS	+= arcfour.o arcfour_crypt.o arcfour_crypt_asm.o
    154 
    155 SHA1_OBJS	+= sha1_asm.o
    156 
    157 #
    158 #			tod modules
    159 #
    160 TODMOSTEK_OBJS	+= todmostek.o
    161 TODDS1287_OBJS	+= todds1287.o
    162 TODDS1337_OBJS	+= todds1337.o
    163 TODSTARFIRE_OBJS += todstarfire.o
    164 TODSTARCAT_OBJS	+= todstarcat.o
    165 TODBLADE_OBJS	+= todblade.o
    166 TODM5819_OBJS	+= todm5819.o
    167 TODM5819P_RMC_OBJS	+= todm5819p_rmc.o
    168 TODBQ4802_OBJS	+= todbq4802.o
    169 TODSG_OBJS	+= todsg.o
    170 TODOPL_OBJS	= todopl.o
    171 
    172 #
    173 #			Misc modules
    174 #
    175 OBPSYM_OBJS	+= obpsym.o obpsym_1275.o
    176 BOOTDEV_OBJS	+= bootdev.o
    177 
    178 CPR_FIRST_OBJS	= cpr_resume_setup.o
    179 CPR_IMPL_OBJS	= cpr_impl.o
    180 
    181 SBD_OBJS	+= sbd.o sbd_cpu.o sbd_mem.o sbd_io.o
    182 
    183 #
    184 #			Brand modules
    185 #
    186 SN1_BRAND_OBJS	= sn1_brand.o sn1_brand_asm.o
    187 
    188 #
    189 #			Performance Counter BackEnd (PCBE) Modules
    190 #
    191 US_PCBE_OBJS	= us234_pcbe.o
    192 OPL_PCBE_OBJS	= opl_pcbe.o
    193 
    194 #
    195 #			cpu modules
    196 #
    197 CPU_OBJ		+= $(OBJS_DIR)/mach_cpu_module.o
    198 SPITFIRE_OBJS 	= spitfire.o spitfire_asm.o spitfire_copy.o spitfire_kdi.o common_asm.o
    199 HUMMINGBIRD_OBJS= $(SPITFIRE_OBJS)
    200 US3_CMN_OBJS	= us3_common.o us3_common_mmu.o us3_common_asm.o us3_kdi.o cheetah_copy.o common_asm.o
    201 CHEETAH_OBJS 	= $(US3_CMN_OBJS) us3_cheetah.o us3_cheetah_asm.o
    202 CHEETAHPLUS_OBJS= $(US3_CMN_OBJS) us3_cheetahplus.o us3_cheetahplus_asm.o
    203 JALAPENO_OBJS   = $(US3_CMN_OBJS) us3_jalapeno.o us3_jalapeno_asm.o
    204 OLYMPUS_OBJS	= opl_olympus.o opl_olympus_asm.o opl_olympus_copy.o \
    205 		  opl_kdi.o common_asm.o
    206 
    207 #
    208 #			platform module
    209 #
    210 PLATMOD_OBJS	= platmod.o
    211 
    212 #	Section 3:	Misc.
    213 #
    214 ALL_DEFS	+= -Dsun4u
    215 INC_PATH	+= -I$(UTSBASE)/sun4u
    216 
    217 #
    218 # Since assym.h is a derived file, the dependency must be explicit for
    219 # all files including this file. (This is only actually required in the
    220 # instance when the .make.state file does not exist.) It may seem that
    221 # the lint targets should also have a similar dependency, but they don't
    222 # since only C headers are included when #defined(lint) is true.
    223 #
    224 ASSYM_DEPS	+= mach_locore.o
    225 ASSYM_DEPS	+= module_sfmmu_asm.o
    226 ASSYM_DEPS	+= spitfire_asm.o spitfire_copy.o
    227 ASSYM_DEPS	+= cheetah_asm.o cheetah_copy.o
    228 ASSYM_DEPS	+= mach_subr_asm.o swtch.o
    229 ASSYM_DEPS	+= mach_interrupt.o mach_xc.o
    230 ASSYM_DEPS	+= trap_table.o wbuf.o
    231 ASSYM_DEPS	+= mach_sfmmu_asm.o sfmmu_asm.o memscrub_asm.o
    232 ASSYM_DEPS	+= mach_copy.o
    233