1*7c478bd9Sstevel@tonic-gate# 2*7c478bd9Sstevel@tonic-gate# CDDL HEADER START 3*7c478bd9Sstevel@tonic-gate# 4*7c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the 5*7c478bd9Sstevel@tonic-gate# Common Development and Distribution License, Version 1.0 only 6*7c478bd9Sstevel@tonic-gate# (the "License"). You may not use this file except in compliance 7*7c478bd9Sstevel@tonic-gate# with the License. 8*7c478bd9Sstevel@tonic-gate# 9*7c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10*7c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing. 11*7c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions 12*7c478bd9Sstevel@tonic-gate# and limitations under the License. 13*7c478bd9Sstevel@tonic-gate# 14*7c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each 15*7c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16*7c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the 17*7c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying 18*7c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner] 19*7c478bd9Sstevel@tonic-gate# 20*7c478bd9Sstevel@tonic-gate# CDDL HEADER END 21*7c478bd9Sstevel@tonic-gate# 22*7c478bd9Sstevel@tonic-gate# 23*7c478bd9Sstevel@tonic-gate# Copyright 2005 Sun Microsystems, Inc. All rights reserved. 24*7c478bd9Sstevel@tonic-gate# Use is subject to license terms. 25*7c478bd9Sstevel@tonic-gate# 26*7c478bd9Sstevel@tonic-gate#ident "%Z%%M% %I% %E% SMI" 27*7c478bd9Sstevel@tonic-gate# 28*7c478bd9Sstevel@tonic-gate# This Makefile defines all file modules in the directory uts/i86pc 29*7c478bd9Sstevel@tonic-gate# and it's children. These are the source files which i86pc 30*7c478bd9Sstevel@tonic-gate# "implementation architecture" dependent. 31*7c478bd9Sstevel@tonic-gate# 32*7c478bd9Sstevel@tonic-gate 33*7c478bd9Sstevel@tonic-gate# 34*7c478bd9Sstevel@tonic-gate# object lists 35*7c478bd9Sstevel@tonic-gate# 36*7c478bd9Sstevel@tonic-gateCORE_OBJS += \ 37*7c478bd9Sstevel@tonic-gate beeper.o \ 38*7c478bd9Sstevel@tonic-gate biosdisk.o \ 39*7c478bd9Sstevel@tonic-gate cbe.o \ 40*7c478bd9Sstevel@tonic-gate confunix.o \ 41*7c478bd9Sstevel@tonic-gate cpuid.o \ 42*7c478bd9Sstevel@tonic-gate dis_tables.o \ 43*7c478bd9Sstevel@tonic-gate ddi_impl.o \ 44*7c478bd9Sstevel@tonic-gate dtrace_subr.o \ 45*7c478bd9Sstevel@tonic-gate dvma.o \ 46*7c478bd9Sstevel@tonic-gate graphics.o \ 47*7c478bd9Sstevel@tonic-gate hat_i86.o \ 48*7c478bd9Sstevel@tonic-gate hat_kdi.o \ 49*7c478bd9Sstevel@tonic-gate hment.o \ 50*7c478bd9Sstevel@tonic-gate hrtimers.o \ 51*7c478bd9Sstevel@tonic-gate htable.o \ 52*7c478bd9Sstevel@tonic-gate instr_size.o \ 53*7c478bd9Sstevel@tonic-gate intr.o \ 54*7c478bd9Sstevel@tonic-gate lgrpplat.o \ 55*7c478bd9Sstevel@tonic-gate mach_i86mmu.o \ 56*7c478bd9Sstevel@tonic-gate mach_kdi.o \ 57*7c478bd9Sstevel@tonic-gate mach_sysconfig.o \ 58*7c478bd9Sstevel@tonic-gate machdep.o \ 59*7c478bd9Sstevel@tonic-gate mem_config_stubs.o \ 60*7c478bd9Sstevel@tonic-gate memnode.o \ 61*7c478bd9Sstevel@tonic-gate mlsetup.o \ 62*7c478bd9Sstevel@tonic-gate mp_call.o \ 63*7c478bd9Sstevel@tonic-gate mp_implfuncs.o \ 64*7c478bd9Sstevel@tonic-gate mp_machdep.o \ 65*7c478bd9Sstevel@tonic-gate mp_startup.o \ 66*7c478bd9Sstevel@tonic-gate memscrub.o \ 67*7c478bd9Sstevel@tonic-gate mpcore.o \ 68*7c478bd9Sstevel@tonic-gate notes.o \ 69*7c478bd9Sstevel@tonic-gate pmem.o \ 70*7c478bd9Sstevel@tonic-gate ppage.o \ 71*7c478bd9Sstevel@tonic-gate startup.o \ 72*7c478bd9Sstevel@tonic-gate timestamp.o \ 73*7c478bd9Sstevel@tonic-gate trap.o \ 74*7c478bd9Sstevel@tonic-gate vm_machdep.o \ 75*7c478bd9Sstevel@tonic-gate x_call.o 76*7c478bd9Sstevel@tonic-gate 77*7c478bd9Sstevel@tonic-gate# 78*7c478bd9Sstevel@tonic-gate# locore.o is special. It must be the first file relocated so that it 79*7c478bd9Sstevel@tonic-gate# it is relocated just where its name implies. 80*7c478bd9Sstevel@tonic-gate# 81*7c478bd9Sstevel@tonic-gateSPECIAL_OBJS_32 += \ 82*7c478bd9Sstevel@tonic-gate locore.o \ 83*7c478bd9Sstevel@tonic-gate fast_trap_asm.o \ 84*7c478bd9Sstevel@tonic-gate interrupt.o \ 85*7c478bd9Sstevel@tonic-gate syscall_asm.o 86*7c478bd9Sstevel@tonic-gate 87*7c478bd9Sstevel@tonic-gateSPECIAL_OBJS_64 += \ 88*7c478bd9Sstevel@tonic-gate locore.o \ 89*7c478bd9Sstevel@tonic-gate fast_trap_asm.o \ 90*7c478bd9Sstevel@tonic-gate interrupt.o \ 91*7c478bd9Sstevel@tonic-gate syscall_asm_amd64.o 92*7c478bd9Sstevel@tonic-gate 93*7c478bd9Sstevel@tonic-gateSPECIAL_OBJS += $(SPECIAL_OBJS_$(CLASS)) 94*7c478bd9Sstevel@tonic-gate 95*7c478bd9Sstevel@tonic-gate# 96*7c478bd9Sstevel@tonic-gate# driver modules 97*7c478bd9Sstevel@tonic-gate# 98*7c478bd9Sstevel@tonic-gateROOTNEX_OBJS += rootnex.o 99*7c478bd9Sstevel@tonic-gateISANEXUS_OBJS += isa.o dma_engine.o i8237A.o 100*7c478bd9Sstevel@tonic-gatePCINEXUS_OBJS += pci.o pci_tools.o 101*7c478bd9Sstevel@tonic-gate 102*7c478bd9Sstevel@tonic-gateTCIC_OBJS += tcic.o 103*7c478bd9Sstevel@tonic-gate 104*7c478bd9Sstevel@tonic-gateATA_OBJS += $(GHD_OBJS) ata_blacklist.o ata_common.o ata_disk.o \ 105*7c478bd9Sstevel@tonic-gate ata_dma.o atapi.o atapi_fsm.o ata_debug.o \ 106*7c478bd9Sstevel@tonic-gate sil3xxx.o 107*7c478bd9Sstevel@tonic-gate 108*7c478bd9Sstevel@tonic-gateCHS_OBJS += chs.o chs_busops.o chs_conf.o chs_dac.o \ 109*7c478bd9Sstevel@tonic-gate chs_devops.o chs_hba.o chs_interrupt.o \ 110*7c478bd9Sstevel@tonic-gate chs_intr.o chs_queue.o chs_raid.o \ 111*7c478bd9Sstevel@tonic-gate chs_transport.o chs_viper.o chs_viperconf.o 112*7c478bd9Sstevel@tonic-gate 113*7c478bd9Sstevel@tonic-gateNCRS_OBJS += glm.o 114*7c478bd9Sstevel@tonic-gateELXL_OBJS += elxl.o elxl_cmn.o mii.o 115*7c478bd9Sstevel@tonic-gate 116*7c478bd9Sstevel@tonic-gateFD_OBJS += fd.o 117*7c478bd9Sstevel@tonic-gate 118*7c478bd9Sstevel@tonic-gatePCN_OBJS += mii.o 119*7c478bd9Sstevel@tonic-gateSBPRO_OBJS += sbpro.o 120*7c478bd9Sstevel@tonic-gate 121*7c478bd9Sstevel@tonic-gateDNET_OBJS += dnet.o mii.o 122*7c478bd9Sstevel@tonic-gateIPRB_OBJS += iprb.o mii.o 123*7c478bd9Sstevel@tonic-gateBMC_OBJS += bmc_fe.o bmc_kcs.o 124*7c478bd9Sstevel@tonic-gateLOGI_OBJS += logi.o 125*7c478bd9Sstevel@tonic-gateMSCSI_OBJS += mscsi.o 126*7c478bd9Sstevel@tonic-gateMSMOUSE_OBJS += msm.o 127*7c478bd9Sstevel@tonic-gatePCPLUSMP_OBJS += apic.o psm_common.o apic_introp.o 128*7c478bd9Sstevel@tonic-gateRTLS_OBJS += rtls.o 129*7c478bd9Sstevel@tonic-gateSPWR_OBJS += spwr.o 9432.o lm9432.o lm9432cf.o 130*7c478bd9Sstevel@tonic-gateAGPGART_OBJS += agpgart.o \ 131*7c478bd9Sstevel@tonic-gate agp_kstat.o 132*7c478bd9Sstevel@tonic-gateAGPTARGET_OBJS += agptarget.o 133*7c478bd9Sstevel@tonic-gateAMD64GART_OBJS += amd64_gart.o 134*7c478bd9Sstevel@tonic-gateBSCV_OBJS += bscv.o 135*7c478bd9Sstevel@tonic-gateBSCBUS_OBJS += bscbus.o 136*7c478bd9Sstevel@tonic-gate 137*7c478bd9Sstevel@tonic-gate# 138*7c478bd9Sstevel@tonic-gate# platform specific modules 139*7c478bd9Sstevel@tonic-gate# 140*7c478bd9Sstevel@tonic-gateUPPC_OBJS += uppc.o psm_common.o 141*7c478bd9Sstevel@tonic-gatePCI_AUTOCONFIG_OBJS += \ 142*7c478bd9Sstevel@tonic-gate pci_autoconfig.o \ 143*7c478bd9Sstevel@tonic-gate pci_boot.o \ 144*7c478bd9Sstevel@tonic-gate pci_memlist.o \ 145*7c478bd9Sstevel@tonic-gate pci_mech1.o \ 146*7c478bd9Sstevel@tonic-gate pci_mech2.o \ 147*7c478bd9Sstevel@tonic-gate pci_neptune.o \ 148*7c478bd9Sstevel@tonic-gate pci_orion.o \ 149*7c478bd9Sstevel@tonic-gate pci_resource.o 150*7c478bd9Sstevel@tonic-gate 151*7c478bd9Sstevel@tonic-gateACPICA_OBJS += dbcmds.o dbdisply.o \ 152*7c478bd9Sstevel@tonic-gate dbexec.o dbfileio.o dbhistry.o dbinput.o dbstats.o \ 153*7c478bd9Sstevel@tonic-gate dbutils.o dbxface.o evevent.o evgpe.o evgpeblk.o \ 154*7c478bd9Sstevel@tonic-gate evmisc.o evregion.o evrgnini.o evsci.o evxface.o \ 155*7c478bd9Sstevel@tonic-gate evxfevnt.o evxfregn.o hwacpi.o hwgpe.o hwregs.o \ 156*7c478bd9Sstevel@tonic-gate hwsleep.o hwtimer.o dsfield.o dsinit.o dsmethod.o \ 157*7c478bd9Sstevel@tonic-gate dsmthdat.o dsobject.o dsopcode.o dsutils.o dswexec.o \ 158*7c478bd9Sstevel@tonic-gate dswload.o dswscope.o dswstate.o exconfig.o exconvrt.o \ 159*7c478bd9Sstevel@tonic-gate excreate.o exdump.o exfield.o exfldio.o exmisc.o \ 160*7c478bd9Sstevel@tonic-gate exmutex.o exnames.o exoparg1.o exoparg2.o exoparg3.o \ 161*7c478bd9Sstevel@tonic-gate exoparg6.o exprep.o exregion.o exresnte.o exresolv.o \ 162*7c478bd9Sstevel@tonic-gate exresop.o exstore.o exstoren.o exstorob.o exsystem.o \ 163*7c478bd9Sstevel@tonic-gate exutils.o psargs.o psopcode.o psparse.o psscope.o \ 164*7c478bd9Sstevel@tonic-gate pstree.o psutils.o pswalk.o psxface.o nsaccess.o \ 165*7c478bd9Sstevel@tonic-gate nsalloc.o nsdump.o nsdumpdv.o nseval.o nsinit.o \ 166*7c478bd9Sstevel@tonic-gate nsload.o nsnames.o nsobject.o nsparse.o nssearch.o \ 167*7c478bd9Sstevel@tonic-gate nsutils.o nswalk.o nsxfeval.o nsxfname.o nsxfobj.o \ 168*7c478bd9Sstevel@tonic-gate rsaddr.o rscalc.o rscreate.o rsdump.o \ 169*7c478bd9Sstevel@tonic-gate rsio.o rsirq.o rslist.o rsmemory.o rsmisc.o \ 170*7c478bd9Sstevel@tonic-gate rsutils.o rsxface.o tbconvrt.o tbget.o tbgetall.o \ 171*7c478bd9Sstevel@tonic-gate tbinstal.o tbrsdt.o tbutils.o tbxface.o tbxfroot.o \ 172*7c478bd9Sstevel@tonic-gate utalloc.o utclib.o utcopy.o utdebug.o utdelete.o \ 173*7c478bd9Sstevel@tonic-gate uteval.o utglobal.o utinit.o utmath.o utmisc.o \ 174*7c478bd9Sstevel@tonic-gate utobject.o utxface.o acpica.o acpi_enum.o master_ops.o \ 175*7c478bd9Sstevel@tonic-gate osl.o osl_ml.o acpica_ec.o 176*7c478bd9Sstevel@tonic-gate 177*7c478bd9Sstevel@tonic-gate# 178*7c478bd9Sstevel@tonic-gate# Build up defines and paths. 179*7c478bd9Sstevel@tonic-gate# 180*7c478bd9Sstevel@tonic-gateALL_DEFS += -Di86pc 181*7c478bd9Sstevel@tonic-gateINC_PATH += -I$(UTSBASE)/i86pc 182*7c478bd9Sstevel@tonic-gate 183*7c478bd9Sstevel@tonic-gate# 184*7c478bd9Sstevel@tonic-gate# Since assym.h is a derived file, the dependency must be explicit for 185*7c478bd9Sstevel@tonic-gate# all files including this file. (This is only actually required in the 186*7c478bd9Sstevel@tonic-gate# instance when the .nse_depinfo file does not exist.) It may seem that 187*7c478bd9Sstevel@tonic-gate# the lint targets should also have a similar dependency, but they don't 188*7c478bd9Sstevel@tonic-gate# since only C headers are included when #defined(__lint) is true. 189*7c478bd9Sstevel@tonic-gate# 190*7c478bd9Sstevel@tonic-gateASSYM_DEPS += \ 191*7c478bd9Sstevel@tonic-gate copy.o \ 192*7c478bd9Sstevel@tonic-gate desctbls_asm.o \ 193*7c478bd9Sstevel@tonic-gate ddi_i86_asm.o \ 194*7c478bd9Sstevel@tonic-gate exception.o \ 195*7c478bd9Sstevel@tonic-gate fast_trap_asm.o \ 196*7c478bd9Sstevel@tonic-gate float.o \ 197*7c478bd9Sstevel@tonic-gate i86_subr.o \ 198*7c478bd9Sstevel@tonic-gate interrupt.o \ 199*7c478bd9Sstevel@tonic-gate lock_prim.o \ 200*7c478bd9Sstevel@tonic-gate locore.o \ 201*7c478bd9Sstevel@tonic-gate mpcore.o \ 202*7c478bd9Sstevel@tonic-gate sseblk.o \ 203*7c478bd9Sstevel@tonic-gate swtch.o \ 204*7c478bd9Sstevel@tonic-gate syscall_asm.o \ 205*7c478bd9Sstevel@tonic-gate syscall_asm_amd64.o 206