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 2006 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 file modules in the directory uts/i86pc 29# and its children. These are the source files which are i86pc 30# "implementation architecture" dependent. 31# 32 33# 34# object lists 35# 36CORE_OBJS += \ 37 beeper.o \ 38 biosdisk.o \ 39 cbe.o \ 40 cmi.o \ 41 confunix.o \ 42 cpuid.o \ 43 dis_tables.o \ 44 ddi_impl.o \ 45 dtrace_subr.o \ 46 dvma.o \ 47 graphics.o \ 48 hat_i86.o \ 49 hat_kdi.o \ 50 hment.o \ 51 hrtimers.o \ 52 htable.o \ 53 instr_size.o \ 54 intr.o \ 55 lgrpplat.o \ 56 mach_i86mmu.o \ 57 mach_kdi.o \ 58 mach_sysconfig.o \ 59 machdep.o \ 60 mem_config_stubs.o \ 61 memnode.o \ 62 mlsetup.o \ 63 mp_call.o \ 64 mp_implfuncs.o \ 65 mp_machdep.o \ 66 mp_startup.o \ 67 memscrub.o \ 68 mpcore.o \ 69 notes.o \ 70 pci_cfgspace.o \ 71 pci_mech1.o \ 72 pci_mech2.o \ 73 pci_neptune.o \ 74 pci_orion.o \ 75 pmem.o \ 76 ppage.o \ 77 startup.o \ 78 timestamp.o \ 79 trap.o \ 80 vm_machdep.o \ 81 x_call.o 82 83# 84# Add the SMBIOS subsystem object files directly to the list of objects 85# built into unix itself; this is all common code except for smb_dev.c. 86# 87CORE_OBJS += $(SMBIOS_OBJS) 88 89# 90# locore.o is special. It must be the first file relocated so that it 91# it is relocated just where its name implies. 92# 93SPECIAL_OBJS_32 += \ 94 locore.o \ 95 fast_trap_asm.o \ 96 interrupt.o \ 97 syscall_asm.o 98 99SPECIAL_OBJS_64 += \ 100 locore.o \ 101 fast_trap_asm.o \ 102 interrupt.o \ 103 syscall_asm_amd64.o 104 105SPECIAL_OBJS += $(SPECIAL_OBJS_$(CLASS)) 106 107# 108# driver modules 109# 110ROOTNEX_OBJS += rootnex.o 111ISANEXUS_OBJS += isa.o dma_engine.o i8237A.o 112PCINEXUS_OBJS += pci.o pci_common.o pci_kstats.o pci_tools.o 113 114TCIC_OBJS += tcic.o 115 116FD_OBJS += fd.o 117 118PCN_OBJS += mii.o 119 120DNET_OBJS += dnet.o mii.o 121LOGI_OBJS += logi.o 122MSCSI_OBJS += mscsi.o 123MSMOUSE_OBJS += msm.o 124PCPLUSMP_OBJS += apic.o psm_common.o apic_introp.o 125RTLS_OBJS += rtls.o 126AGPGART_OBJS += agpgart.o \ 127 agp_kstat.o 128AGPTARGET_OBJS += agptarget.o 129AMD64GART_OBJS += amd64_gart.o 130 131include $(SRC)/common/mc/mc-amd/Makefile.mcamd 132MCAMD_OBJS += \ 133 $(MCAMD_CMN_OBJS) \ 134 mcamd_drv.o \ 135 mcamd_subr.o 136 137# 138# PCI-Express driver modules 139# 140PCI_E_NEXUS_OBJS += npe.o npe_misc.o 141PCI_E_NEXUS_OBJS += pci_common.o pci_kstats.o pci_tools.o pcie_error.o 142PCI_E_PCINEXUS_OBJS += pcie_pci.o pcie_error.o 143PCIEHPCNEXUS_OBJS += pciehpc_x86.o pciehpc_acpi.o pciehpc_ck804.o 144 145# 146# platform specific modules 147# 148UPPC_OBJS += uppc.o psm_common.o 149PCI_AUTOCONFIG_OBJS += \ 150 pci_autoconfig.o \ 151 pci_boot.o \ 152 pcie_ck804_boot.o \ 153 pci_memlist.o \ 154 pci_resource.o 155 156ACPICA_OBJS += dbcmds.o dbdisply.o \ 157 dbexec.o dbfileio.o dbhistry.o dbinput.o dbstats.o \ 158 dbutils.o dbxface.o evevent.o evgpe.o evgpeblk.o \ 159 evmisc.o evregion.o evrgnini.o evsci.o evxface.o \ 160 evxfevnt.o evxfregn.o hwacpi.o hwgpe.o hwregs.o \ 161 hwsleep.o hwtimer.o dsfield.o dsinit.o dsmethod.o \ 162 dsmthdat.o dsobject.o dsopcode.o dsutils.o dswexec.o \ 163 dswload.o dswscope.o dswstate.o exconfig.o exconvrt.o \ 164 excreate.o exdump.o exfield.o exfldio.o exmisc.o \ 165 exmutex.o exnames.o exoparg1.o exoparg2.o exoparg3.o \ 166 exoparg6.o exprep.o exregion.o exresnte.o exresolv.o \ 167 exresop.o exstore.o exstoren.o exstorob.o exsystem.o \ 168 exutils.o psargs.o psopcode.o psparse.o psscope.o \ 169 pstree.o psutils.o pswalk.o psxface.o nsaccess.o \ 170 nsalloc.o nsdump.o nsdumpdv.o nseval.o nsinit.o \ 171 nsload.o nsnames.o nsobject.o nsparse.o nssearch.o \ 172 nsutils.o nswalk.o nsxfeval.o nsxfname.o nsxfobj.o \ 173 rsaddr.o rscalc.o rscreate.o rsdump.o \ 174 rsinfo.o rsio.o rsirq.o rslist.o rsmemory.o rsmisc.o \ 175 rsutils.o rsxface.o tbconvrt.o tbget.o tbgetall.o \ 176 tbinstal.o tbrsdt.o tbutils.o tbxface.o tbxfroot.o \ 177 utalloc.o utclib.o utcopy.o utdebug.o utdelete.o \ 178 uteval.o utglobal.o utinit.o utmath.o utmisc.o \ 179 utobject.o utxface.o acpica.o acpi_enum.o master_ops.o \ 180 osl.o osl_ml.o acpica_ec.o utcache.o utmutex.o utstate.o \ 181 psloop.o 182 183POWER_OBJS += power.o 184 185GFX_PRIVATE_OBJS += gfx_private.o gfxp_pci.o gfxp_segmap.o \ 186 gfxp_devmap.o gfxp_vgatext.o gfxp_vm.o vgasubr.o 187 188# 189# Build up defines and paths. 190# 191ALL_DEFS += -Di86pc 192INC_PATH += -I$(UTSBASE)/i86pc 193 194# 195# Since assym.h is a derived file, the dependency must be explicit for 196# all files including this file. (This is only actually required in the 197# instance when the .nse_depinfo file does not exist.) It may seem that 198# the lint targets should also have a similar dependency, but they don't 199# since only C headers are included when #defined(__lint) is true. 200# 201ASSYM_DEPS += \ 202 copy.o \ 203 desctbls_asm.o \ 204 ddi_i86_asm.o \ 205 exception.o \ 206 fast_trap_asm.o \ 207 float.o \ 208 i86_subr.o \ 209 interrupt.o \ 210 lock_prim.o \ 211 locore.o \ 212 mpcore.o \ 213 sseblk.o \ 214 swtch.o \ 215 syscall_asm.o \ 216 syscall_asm_amd64.o 217