17c478bd9Sstevel@tonic-gate# 27c478bd9Sstevel@tonic-gate# CDDL HEADER START 37c478bd9Sstevel@tonic-gate# 47c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the 57c478bd9Sstevel@tonic-gate# Common Development and Distribution License, Version 1.0 only 67c478bd9Sstevel@tonic-gate# (the "License"). You may not use this file except in compliance 77c478bd9Sstevel@tonic-gate# with the License. 87c478bd9Sstevel@tonic-gate# 97c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 107c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing. 117c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions 127c478bd9Sstevel@tonic-gate# and limitations under the License. 137c478bd9Sstevel@tonic-gate# 147c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each 157c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 167c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the 177c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying 187c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner] 197c478bd9Sstevel@tonic-gate# 207c478bd9Sstevel@tonic-gate# CDDL HEADER END 217c478bd9Sstevel@tonic-gate# 227c478bd9Sstevel@tonic-gate# 237c478bd9Sstevel@tonic-gate# Copyright 2005 Sun Microsystems, Inc. All rights reserved. 247c478bd9Sstevel@tonic-gate# Use is subject to license terms. 257c478bd9Sstevel@tonic-gate# 267c478bd9Sstevel@tonic-gate#ident "%Z%%M% %I% %E% SMI" 277c478bd9Sstevel@tonic-gate# 287c478bd9Sstevel@tonic-gate# This Makefile defines all file modules in the directory uts/i86pc 297c478bd9Sstevel@tonic-gate# and it's children. These are the source files which i86pc 307c478bd9Sstevel@tonic-gate# "implementation architecture" dependent. 317c478bd9Sstevel@tonic-gate# 327c478bd9Sstevel@tonic-gate 337c478bd9Sstevel@tonic-gate# 347c478bd9Sstevel@tonic-gate# object lists 357c478bd9Sstevel@tonic-gate# 367c478bd9Sstevel@tonic-gateCORE_OBJS += \ 377c478bd9Sstevel@tonic-gate beeper.o \ 387c478bd9Sstevel@tonic-gate biosdisk.o \ 397c478bd9Sstevel@tonic-gate cbe.o \ 407c478bd9Sstevel@tonic-gate confunix.o \ 417c478bd9Sstevel@tonic-gate cpuid.o \ 427c478bd9Sstevel@tonic-gate dis_tables.o \ 437c478bd9Sstevel@tonic-gate ddi_impl.o \ 447c478bd9Sstevel@tonic-gate dtrace_subr.o \ 457c478bd9Sstevel@tonic-gate dvma.o \ 467c478bd9Sstevel@tonic-gate graphics.o \ 477c478bd9Sstevel@tonic-gate hat_i86.o \ 487c478bd9Sstevel@tonic-gate hat_kdi.o \ 497c478bd9Sstevel@tonic-gate hment.o \ 507c478bd9Sstevel@tonic-gate hrtimers.o \ 517c478bd9Sstevel@tonic-gate htable.o \ 527c478bd9Sstevel@tonic-gate instr_size.o \ 537c478bd9Sstevel@tonic-gate intr.o \ 547c478bd9Sstevel@tonic-gate lgrpplat.o \ 557c478bd9Sstevel@tonic-gate mach_i86mmu.o \ 567c478bd9Sstevel@tonic-gate mach_kdi.o \ 577c478bd9Sstevel@tonic-gate mach_sysconfig.o \ 587c478bd9Sstevel@tonic-gate machdep.o \ 597c478bd9Sstevel@tonic-gate mem_config_stubs.o \ 607c478bd9Sstevel@tonic-gate memnode.o \ 617c478bd9Sstevel@tonic-gate mlsetup.o \ 627c478bd9Sstevel@tonic-gate mp_call.o \ 637c478bd9Sstevel@tonic-gate mp_implfuncs.o \ 647c478bd9Sstevel@tonic-gate mp_machdep.o \ 657c478bd9Sstevel@tonic-gate mp_startup.o \ 667c478bd9Sstevel@tonic-gate memscrub.o \ 677c478bd9Sstevel@tonic-gate mpcore.o \ 687c478bd9Sstevel@tonic-gate notes.o \ 697c478bd9Sstevel@tonic-gate pmem.o \ 707c478bd9Sstevel@tonic-gate ppage.o \ 717c478bd9Sstevel@tonic-gate startup.o \ 727c478bd9Sstevel@tonic-gate timestamp.o \ 737c478bd9Sstevel@tonic-gate trap.o \ 747c478bd9Sstevel@tonic-gate vm_machdep.o \ 757c478bd9Sstevel@tonic-gate x_call.o 767c478bd9Sstevel@tonic-gate 777c478bd9Sstevel@tonic-gate# 787c478bd9Sstevel@tonic-gate# locore.o is special. It must be the first file relocated so that it 797c478bd9Sstevel@tonic-gate# it is relocated just where its name implies. 807c478bd9Sstevel@tonic-gate# 817c478bd9Sstevel@tonic-gateSPECIAL_OBJS_32 += \ 827c478bd9Sstevel@tonic-gate locore.o \ 837c478bd9Sstevel@tonic-gate fast_trap_asm.o \ 847c478bd9Sstevel@tonic-gate interrupt.o \ 857c478bd9Sstevel@tonic-gate syscall_asm.o 867c478bd9Sstevel@tonic-gate 877c478bd9Sstevel@tonic-gateSPECIAL_OBJS_64 += \ 887c478bd9Sstevel@tonic-gate locore.o \ 897c478bd9Sstevel@tonic-gate fast_trap_asm.o \ 907c478bd9Sstevel@tonic-gate interrupt.o \ 917c478bd9Sstevel@tonic-gate syscall_asm_amd64.o 927c478bd9Sstevel@tonic-gate 937c478bd9Sstevel@tonic-gateSPECIAL_OBJS += $(SPECIAL_OBJS_$(CLASS)) 947c478bd9Sstevel@tonic-gate 957c478bd9Sstevel@tonic-gate# 967c478bd9Sstevel@tonic-gate# driver modules 977c478bd9Sstevel@tonic-gate# 987c478bd9Sstevel@tonic-gateROOTNEX_OBJS += rootnex.o 997c478bd9Sstevel@tonic-gateISANEXUS_OBJS += isa.o dma_engine.o i8237A.o 1007c478bd9Sstevel@tonic-gatePCINEXUS_OBJS += pci.o pci_tools.o 1017c478bd9Sstevel@tonic-gate 1027c478bd9Sstevel@tonic-gateTCIC_OBJS += tcic.o 1037c478bd9Sstevel@tonic-gate 1047c478bd9Sstevel@tonic-gateATA_OBJS += $(GHD_OBJS) ata_blacklist.o ata_common.o ata_disk.o \ 1057c478bd9Sstevel@tonic-gate ata_dma.o atapi.o atapi_fsm.o ata_debug.o \ 1067c478bd9Sstevel@tonic-gate sil3xxx.o 1077c478bd9Sstevel@tonic-gate 1087c478bd9Sstevel@tonic-gateCHS_OBJS += chs.o chs_busops.o chs_conf.o chs_dac.o \ 1097c478bd9Sstevel@tonic-gate chs_devops.o chs_hba.o chs_interrupt.o \ 1107c478bd9Sstevel@tonic-gate chs_intr.o chs_queue.o chs_raid.o \ 1117c478bd9Sstevel@tonic-gate chs_transport.o chs_viper.o chs_viperconf.o 1127c478bd9Sstevel@tonic-gate 1137c478bd9Sstevel@tonic-gateNCRS_OBJS += glm.o 1147c478bd9Sstevel@tonic-gateELXL_OBJS += elxl.o elxl_cmn.o mii.o 1157c478bd9Sstevel@tonic-gate 1167c478bd9Sstevel@tonic-gateFD_OBJS += fd.o 1177c478bd9Sstevel@tonic-gate 1187c478bd9Sstevel@tonic-gatePCN_OBJS += mii.o 1197c478bd9Sstevel@tonic-gateSBPRO_OBJS += sbpro.o 1207c478bd9Sstevel@tonic-gate 1217c478bd9Sstevel@tonic-gateDNET_OBJS += dnet.o mii.o 1227c478bd9Sstevel@tonic-gateIPRB_OBJS += iprb.o mii.o 1237c478bd9Sstevel@tonic-gateBMC_OBJS += bmc_fe.o bmc_kcs.o 1247c478bd9Sstevel@tonic-gateLOGI_OBJS += logi.o 1257c478bd9Sstevel@tonic-gateMSCSI_OBJS += mscsi.o 1267c478bd9Sstevel@tonic-gateMSMOUSE_OBJS += msm.o 1277c478bd9Sstevel@tonic-gatePCPLUSMP_OBJS += apic.o psm_common.o apic_introp.o 1287c478bd9Sstevel@tonic-gateRTLS_OBJS += rtls.o 1297c478bd9Sstevel@tonic-gateSPWR_OBJS += spwr.o 9432.o lm9432.o lm9432cf.o 1307c478bd9Sstevel@tonic-gateAGPGART_OBJS += agpgart.o \ 1317c478bd9Sstevel@tonic-gate agp_kstat.o 1327c478bd9Sstevel@tonic-gateAGPTARGET_OBJS += agptarget.o 1337c478bd9Sstevel@tonic-gateAMD64GART_OBJS += amd64_gart.o 1347c478bd9Sstevel@tonic-gateBSCV_OBJS += bscv.o 1357c478bd9Sstevel@tonic-gateBSCBUS_OBJS += bscbus.o 1367c478bd9Sstevel@tonic-gate 1377c478bd9Sstevel@tonic-gate# 1387c478bd9Sstevel@tonic-gate# platform specific modules 1397c478bd9Sstevel@tonic-gate# 1407c478bd9Sstevel@tonic-gateUPPC_OBJS += uppc.o psm_common.o 1417c478bd9Sstevel@tonic-gatePCI_AUTOCONFIG_OBJS += \ 1427c478bd9Sstevel@tonic-gate pci_autoconfig.o \ 1437c478bd9Sstevel@tonic-gate pci_boot.o \ 1447c478bd9Sstevel@tonic-gate pci_memlist.o \ 1457c478bd9Sstevel@tonic-gate pci_mech1.o \ 1467c478bd9Sstevel@tonic-gate pci_mech2.o \ 1477c478bd9Sstevel@tonic-gate pci_neptune.o \ 1487c478bd9Sstevel@tonic-gate pci_orion.o \ 1497c478bd9Sstevel@tonic-gate pci_resource.o 1507c478bd9Sstevel@tonic-gate 1517c478bd9Sstevel@tonic-gateACPICA_OBJS += dbcmds.o dbdisply.o \ 1527c478bd9Sstevel@tonic-gate dbexec.o dbfileio.o dbhistry.o dbinput.o dbstats.o \ 1537c478bd9Sstevel@tonic-gate dbutils.o dbxface.o evevent.o evgpe.o evgpeblk.o \ 1547c478bd9Sstevel@tonic-gate evmisc.o evregion.o evrgnini.o evsci.o evxface.o \ 1557c478bd9Sstevel@tonic-gate evxfevnt.o evxfregn.o hwacpi.o hwgpe.o hwregs.o \ 1567c478bd9Sstevel@tonic-gate hwsleep.o hwtimer.o dsfield.o dsinit.o dsmethod.o \ 1577c478bd9Sstevel@tonic-gate dsmthdat.o dsobject.o dsopcode.o dsutils.o dswexec.o \ 1587c478bd9Sstevel@tonic-gate dswload.o dswscope.o dswstate.o exconfig.o exconvrt.o \ 1597c478bd9Sstevel@tonic-gate excreate.o exdump.o exfield.o exfldio.o exmisc.o \ 1607c478bd9Sstevel@tonic-gate exmutex.o exnames.o exoparg1.o exoparg2.o exoparg3.o \ 1617c478bd9Sstevel@tonic-gate exoparg6.o exprep.o exregion.o exresnte.o exresolv.o \ 1627c478bd9Sstevel@tonic-gate exresop.o exstore.o exstoren.o exstorob.o exsystem.o \ 1637c478bd9Sstevel@tonic-gate exutils.o psargs.o psopcode.o psparse.o psscope.o \ 1647c478bd9Sstevel@tonic-gate pstree.o psutils.o pswalk.o psxface.o nsaccess.o \ 1657c478bd9Sstevel@tonic-gate nsalloc.o nsdump.o nsdumpdv.o nseval.o nsinit.o \ 1667c478bd9Sstevel@tonic-gate nsload.o nsnames.o nsobject.o nsparse.o nssearch.o \ 1677c478bd9Sstevel@tonic-gate nsutils.o nswalk.o nsxfeval.o nsxfname.o nsxfobj.o \ 1687c478bd9Sstevel@tonic-gate rsaddr.o rscalc.o rscreate.o rsdump.o \ 1697c478bd9Sstevel@tonic-gate rsio.o rsirq.o rslist.o rsmemory.o rsmisc.o \ 1707c478bd9Sstevel@tonic-gate rsutils.o rsxface.o tbconvrt.o tbget.o tbgetall.o \ 1717c478bd9Sstevel@tonic-gate tbinstal.o tbrsdt.o tbutils.o tbxface.o tbxfroot.o \ 1727c478bd9Sstevel@tonic-gate utalloc.o utclib.o utcopy.o utdebug.o utdelete.o \ 1737c478bd9Sstevel@tonic-gate uteval.o utglobal.o utinit.o utmath.o utmisc.o \ 1747c478bd9Sstevel@tonic-gate utobject.o utxface.o acpica.o acpi_enum.o master_ops.o \ 175*450d6964Smyers osl.o osl_ml.o acpica_ec.o utcache.o utmutex.o utstate.o \ 176*450d6964Smyers psloop.o 1777c478bd9Sstevel@tonic-gate 1787c478bd9Sstevel@tonic-gate# 1797c478bd9Sstevel@tonic-gate# Build up defines and paths. 1807c478bd9Sstevel@tonic-gate# 1817c478bd9Sstevel@tonic-gateALL_DEFS += -Di86pc 1827c478bd9Sstevel@tonic-gateINC_PATH += -I$(UTSBASE)/i86pc 1837c478bd9Sstevel@tonic-gate 1847c478bd9Sstevel@tonic-gate# 1857c478bd9Sstevel@tonic-gate# Since assym.h is a derived file, the dependency must be explicit for 1867c478bd9Sstevel@tonic-gate# all files including this file. (This is only actually required in the 1877c478bd9Sstevel@tonic-gate# instance when the .nse_depinfo file does not exist.) It may seem that 1887c478bd9Sstevel@tonic-gate# the lint targets should also have a similar dependency, but they don't 1897c478bd9Sstevel@tonic-gate# since only C headers are included when #defined(__lint) is true. 1907c478bd9Sstevel@tonic-gate# 1917c478bd9Sstevel@tonic-gateASSYM_DEPS += \ 1927c478bd9Sstevel@tonic-gate copy.o \ 1937c478bd9Sstevel@tonic-gate desctbls_asm.o \ 1947c478bd9Sstevel@tonic-gate ddi_i86_asm.o \ 1957c478bd9Sstevel@tonic-gate exception.o \ 1967c478bd9Sstevel@tonic-gate fast_trap_asm.o \ 1977c478bd9Sstevel@tonic-gate float.o \ 1987c478bd9Sstevel@tonic-gate i86_subr.o \ 1997c478bd9Sstevel@tonic-gate interrupt.o \ 2007c478bd9Sstevel@tonic-gate lock_prim.o \ 2017c478bd9Sstevel@tonic-gate locore.o \ 2027c478bd9Sstevel@tonic-gate mpcore.o \ 2037c478bd9Sstevel@tonic-gate sseblk.o \ 2047c478bd9Sstevel@tonic-gate swtch.o \ 2057c478bd9Sstevel@tonic-gate syscall_asm.o \ 2067c478bd9Sstevel@tonic-gate syscall_asm_amd64.o 207