Home | History | Annotate | Download | only in sun4v
      1      0    stevel #
      2      0    stevel # CDDL HEADER START
      3      0    stevel #
      4      0    stevel # The contents of this file are subject to the terms of the
      5   1370  schwartz # Common Development and Distribution License (the "License").
      6   1370  schwartz # You may not use this file except in compliance with the License.
      7      0    stevel #
      8      0    stevel # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
      9      0    stevel # or http://www.opensolaris.org/os/licensing.
     10      0    stevel # See the License for the specific language governing permissions
     11      0    stevel # and limitations under the License.
     12      0    stevel #
     13      0    stevel # When distributing Covered Code, include this CDDL HEADER in each
     14      0    stevel # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
     15      0    stevel # If applicable, add the following below this CDDL HEADER, with the
     16      0    stevel # fields enclosed by brackets "[]" replaced with your own identifying
     17      0    stevel # information: Portions Copyright [yyyy] [name of copyright owner]
     18      0    stevel #
     19      0    stevel # CDDL HEADER END
     20      0    stevel #
     21   1370  schwartz 
     22      0    stevel #
     23   8542      Haik # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
     24      0    stevel # Use is subject to license terms.
     25      0    stevel #
     26      0    stevel #	This Makefile defines all file modules for the directory uts/sun4v
     27  10106     Jason #	and it's children. These are the source files which are sun4v
     28      0    stevel #	"implementation architecture" dependent.
     29      0    stevel #
     30      0    stevel 
     31      0    stevel #
     32      0    stevel #	object lists
     33      0    stevel #
     34      0    stevel CORE_OBJS +=	bootops.o
     35      0    stevel CORE_OBJS +=	cmp.o
     36      0    stevel CORE_OBJS +=	cpc_hwreg.o
     37      0    stevel CORE_OBJS +=	cpc_subr.o
     38      0    stevel CORE_OBJS +=	error.o
     39      0    stevel CORE_OBJS +=	fillsysinfo.o
     40      0    stevel CORE_OBJS +=	forthdebug.o
     41      0    stevel CORE_OBJS +=	hardclk.o
     42      0    stevel CORE_OBJS +=	hat_sfmmu.o
     43      0    stevel CORE_OBJS +=	hat_kdi.o
     44   1592    girish CORE_OBJS +=	hsvc.o
     45   8194      Jack CORE_OBJS +=	iscsi_boot.o
     46  11172      Haik CORE_OBJS +=	kldc.o
     47   1991     heppo CORE_OBJS +=	lpad.o
     48      0    stevel CORE_OBJS +=	mach_cpu_states.o
     49      0    stevel CORE_OBJS +=	mach_ddi_impl.o
     50   1991     heppo CORE_OBJS +=	mach_descrip.o
     51   2296  ae112802 CORE_OBJS +=	mach_kpm.o
     52      0    stevel CORE_OBJS +=	mach_mp_startup.o
     53      0    stevel CORE_OBJS +=	mach_mp_states.o
     54   1991     heppo CORE_OBJS +=	mach_proc_init.o
     55      0    stevel CORE_OBJS +=	mach_sfmmu.o
     56      0    stevel CORE_OBJS +=	mach_startup.o
     57      0    stevel CORE_OBJS +=	mach_subr_asm.o
     58      0    stevel CORE_OBJS +=	mach_trap.o
     59      0    stevel CORE_OBJS +=	mach_vm_dep.o
     60      0    stevel CORE_OBJS +=	mach_xc.o
     61      0    stevel CORE_OBJS +=	mem_cage.o
     62      0    stevel CORE_OBJS +=	mem_config.o
     63      0    stevel CORE_OBJS +=	memlist_new.o
     64  10106     Jason CORE_OBJS +=	memseg.o
     65   4769   dp78419 CORE_OBJS +=	mpo.o
     66      0    stevel CORE_OBJS +=	ppage.o
     67   1991     heppo CORE_OBJS +=	promif_asr.o
     68   1991     heppo CORE_OBJS +=	promif_cpu.o
     69   1991     heppo CORE_OBJS +=	promif_emul.o
     70   1991     heppo CORE_OBJS +=	promif_mon.o
     71   1991     heppo CORE_OBJS +=	promif_io.o
     72   1991     heppo CORE_OBJS +=	promif_interp.o
     73   1991     heppo CORE_OBJS +=	promif_key.o
     74   1991     heppo CORE_OBJS +=	promif_power_off.o
     75   1991     heppo CORE_OBJS +=	promif_prop.o
     76   1991     heppo CORE_OBJS +=	promif_node.o
     77   1991     heppo CORE_OBJS +=	promif_reboot.o
     78   1991     heppo CORE_OBJS +=	promif_stree.o
     79   1991     heppo CORE_OBJS +=	promif_test.o
     80   1991     heppo CORE_OBJS +=	promif_version.o
     81      0    stevel CORE_OBJS +=	sfmmu_kdi.o
     82  11172      Haik CORE_OBJS +=	suspend.o
     83      0    stevel CORE_OBJS +=	swtch.o
     84   2036   wentaoy CORE_OBJS +=	wdt.o
     85      0    stevel CORE_OBJS +=	xhat_sfmmu.o
     86      0    stevel 
     87   1991     heppo CORE_OBJS +=	mdesc_diff.o
     88      0    stevel CORE_OBJS +=	mdesc_findname.o
     89      0    stevel CORE_OBJS +=	mdesc_findnodeprop.o
     90      0    stevel CORE_OBJS +=	mdesc_fini.o
     91   1991     heppo CORE_OBJS +=	mdesc_getbinsize.o
     92   1991     heppo CORE_OBJS +=	mdesc_getgen.o
     93      0    stevel CORE_OBJS +=	mdesc_getpropdata.o
     94      0    stevel CORE_OBJS +=	mdesc_getpropstr.o
     95      0    stevel CORE_OBJS +=	mdesc_getpropval.o
     96      0    stevel CORE_OBJS +=	mdesc_init_intern.o
     97      0    stevel CORE_OBJS +=	mdesc_nodecount.o
     98      0    stevel CORE_OBJS +=	mdesc_rootnode.o
     99      0    stevel CORE_OBJS +=	mdesc_scandag.o
    100      0    stevel 
    101      0    stevel #
    102      0    stevel #	Some objects must be linked at the front of the image (or
    103      0    stevel #	near other objects at the front of the image).
    104      0    stevel #
    105      0    stevel SPECIAL_OBJS +=	trap_table.o
    106      0    stevel SPECIAL_OBJS +=	locore.o
    107      0    stevel SPECIAL_OBJS +=	mach_locore.o
    108      0    stevel SPECIAL_OBJS +=	sfmmu_asm.o
    109      0    stevel SPECIAL_OBJS +=	mach_sfmmu_asm.o
    110      0    stevel SPECIAL_OBJS +=	interrupt.o
    111      0    stevel SPECIAL_OBJS +=	mach_interrupt.o
    112      0    stevel SPECIAL_OBJS +=	wbuf.o
    113      0    stevel SPECIAL_OBJS += hcall.o
    114      0    stevel SPECIAL_OBJS += intrq.o
    115      0    stevel 
    116      0    stevel #
    117      0    stevel #			driver modules
    118      0    stevel #
    119      0    stevel ROOTNEX_OBJS	+= mach_rootnex.o
    120   7596      Alan PX_OBJS		+= px_lib4v.o px_err.o px_tools_4v.o px_hcall.o px_libhv.o 
    121   1370  schwartz FPC_OBJS	+= fpc-impl-4v.o fpc-asm-4v.o
    122   3299  schwartz N2PIUPC_OBJS	+= n2piupc.o n2piupc_tables.o n2piupc_kstats.o \
    123   3299  schwartz 			n2piupc_biterr.o n2piupc_asm.o
    124      0    stevel TRAPSTAT_OBJS	+= trapstat.o
    125   3156    girish NIUMX_OBJS	+= niumx.o
    126   4625   gm89044 N2RNG_OBJS	+= n2rng.o n2rng_debug.o n2rng_hcall.o n2rng_kcf.o \
    127   4625   gm89044 		   n2rng_entp_algs.o n2rng_entp_setup.o n2rng_kstat.o \
    128   4625   gm89044 		   n2rng_provider.o
    129      0    stevel 
    130      0    stevel #
    131    339   tsoydan # 			CPU/Memory Error Injector (memtest) sun4v driver
    132    339   tsoydan #
    133    339   tsoydan MEMTEST_OBJS	+= memtest.o memtest_asm.o \
    134    339   tsoydan 			memtest_v.o memtest_v_asm.o \
    135   3325   sd77468 			memtest_ni.o memtest_ni_asm.o \
    136   4759   sd77468 			memtest_n2.o memtest_n2_asm.o \
    137   4759   sd77468 			memtest_vf.o
    138    339   tsoydan 
    139    339   tsoydan #
    140      0    stevel #			sun4v virtual devices
    141      0    stevel #
    142      0    stevel QCN_OBJS	= qcn.o
    143      0    stevel VNEX_OBJS	= vnex.o
    144   1991     heppo CNEX_OBJS	= cnex.o
    145   1840   wh94709 GLVC_OBJS	= glvc.o glvc_hcall.o
    146      0    stevel MDESC_OBJS	= mdesc.o
    147   6408  ha137994 LDC_OBJS	= ldc.o ldc_shm.o vio_util.o vdsk_common.o vgen_stats.o \
    148   6408  ha137994 			vnet_common.o
    149   3349   wentaoy NTWDT_OBJS	= ntwdt.o
    150   1991     heppo VLDC_OBJS	= vldc.o
    151   1991     heppo VCC_OBJS	= vcc.o
    152   6495     speer VNET_OBJS	= vnet.o vnet_gen.o vnet_dds.o vnet_dds_hcall.o
    153   6495     speer VSW_OBJS	= vsw.o vsw_ldc.o vsw_phys.o vsw_switching.o vsw_hio.o
    154   1991     heppo VDC_OBJS	= vdc.o
    155   1991     heppo VDS_OBJS	= vds.o
    156   3530  rb144127 DS_PRI_OBJS	= ds_pri.o
    157   3941     venki DS_SNMP_OBJS	= ds_snmp.o
    158   7697   Michael VLDS_OBJS	= vlds.o
    159      0    stevel 
    160      0    stevel #
    161      0    stevel #			Misc modules
    162      0    stevel #
    163   1991     heppo BOOTDEV_OBJS	+= bootdev.o
    164   2309   rsmaeda DR_CPU_OBJS	+= dr_cpu.o
    165   6441   jm22469 DR_IO_OBJS	+= dr_io.o
    166  10106     Jason DR_MEM_OBJS	+= dr_mem.o
    167   2309   rsmaeda DRCTL_OBJS	= drctl.o drctl_impl.o dr_util.o
    168   7697   Michael DS_OBJS		= ds_common.o ds_drv.o
    169   1991     heppo FAULT_ISO_OBJS	= fault_iso.o
    170      0    stevel OBPSYM_OBJS	+= obpsym.o obpsym_1275.o
    171   1991     heppo PLATSVC_OBJS	= platsvc.o mdeg.o
    172      0    stevel 
    173      0    stevel #
    174   4127       edp #			Brand modules
    175   4127       edp #
    176   4127       edp SN1_BRAND_OBJS		= sn1_brand.o sn1_brand_asm.o
    177  10840    Gerald S10_BRAND_OBJS		= s10_brand.o s10_brand_asm.o
    178   4127       edp 
    179   4127       edp #
    180      0    stevel #			Performance Counter BackEnd (PCBE) Modules
    181      0    stevel #
    182      0    stevel NI_PCBE_OBJS	= niagara_pcbe.o
    183   3156    girish N2_PCBE_OBJS	= niagara2_pcbe.o
    184      0    stevel 
    185      0    stevel #
    186      0    stevel #			cpu modules
    187      0    stevel #
    188      0    stevel CPU_OBJ		+= $(OBJS_DIR)/mach_cpu_module.o
    189   4732    davemq GENERIC_OBJS = generic.o generic_copy.o common_asm.o atomic.o
    190      0    stevel NIAGARACPU_OBJS = niagara.o niagara_copy.o common_asm.o niagara_perfctr.o
    191   4732    davemq NIAGARACPU_OBJS += niagara_asm.o atomic.o
    192   3156    girish NIAGARA2CPU_OBJS = niagara2.o niagara_copy.o common_asm.o niagara_perfctr.o
    193   6800  ae112802 NIAGARA2CPU_OBJS += niagara2_asm.o atomic.o
    194      0    stevel 
    195      0    stevel #
    196      0    stevel #			platform module
    197      0    stevel #
    198      0    stevel PLATMOD_OBJS	= platmod.o
    199      0    stevel 
    200      0    stevel #	Section 3:	Misc.
    201      0    stevel #
    202      0    stevel ALL_DEFS	+= -Dsun4u -Dsun4v
    203      0    stevel INC_PATH	+= -I$(UTSBASE)/sun4v
    204      0    stevel #
    205      0    stevel # Since assym.h is a derived file, the dependency must be explicit for
    206      0    stevel # all files including this file. (This is only actually required in the
    207      0    stevel # instance when the .make.state file does not exist.) It may seem that
    208      0    stevel # the lint targets should also have a similar dependency, but they don't
    209      0    stevel # since only C headers are included when #defined(lint) is true.
    210      0    stevel #
    211      0    stevel ASSYM_DEPS	+= mach_locore.o
    212      0    stevel ASSYM_DEPS	+= module_sfmmu_asm.o
    213      0    stevel ASSYM_DEPS	+= generic_asm.o generic_copy.o
    214   3156    girish ASSYM_DEPS	+= niagara_copy.o niagara_asm.o niagara2_asm.o
    215      0    stevel ASSYM_DEPS	+= mach_subr_asm.o swtch.o
    216      0    stevel ASSYM_DEPS	+= mach_interrupt.o mach_xc.o
    217      0    stevel ASSYM_DEPS	+= trap_table.o wbuf.o
    218      0    stevel ASSYM_DEPS	+= mach_sfmmu_asm.o sfmmu_asm.o
    219    227      kais 
    220    227      kais #
    221    227      kais #			kernel cryptographic framework
    222    227      kais #
    223    227      kais 
    224    227      kais ARCFOUR_OBJS	+= arcfour.o arcfour_crypt.o
    225   3156    girish 
    226