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 2009 Sun Microsystems, Inc. All rights reserved. 24# Use is subject to license terms. 25# 26 27# 28# This Makefile defines all file modules and build rules for the 29# directory uts/intel and its children. These are the source files which 30# are specific to x86 processor architectures. 31# 32 33# 34# Core (unix) objects 35# 36CORE_OBJS += \ 37 arch_kdi.o \ 38 copy.o \ 39 copy_subr.o \ 40 cpc_subr.o \ 41 ddi_arch.o \ 42 ddi_i86.o \ 43 ddi_i86_asm.o \ 44 desctbls.o \ 45 desctbls_asm.o \ 46 exception.o \ 47 float.o \ 48 fpu.o \ 49 i86_subr.o \ 50 lock_prim.o \ 51 ovbcopy.o \ 52 polled_io.o \ 53 sseblk.o \ 54 sundep.o \ 55 swtch.o \ 56 sysi86.o 57 58# 59# 64-bit multiply/divide compiler helper routines 60# used only for ia32 61# 62 63SPECIAL_OBJS_32 += \ 64 muldiv.o 65 66# 67# Generic-unix Module 68# 69GENUNIX_OBJS += \ 70 archdep.o \ 71 getcontext.o \ 72 install_utrap.o \ 73 lwp_private.o \ 74 prom_enter.o \ 75 prom_exit.o \ 76 prom_panic.o \ 77 sendsig.o \ 78 syscall.o 79 80 81# 82# PROM Routines 83# 84GENUNIX_OBJS += \ 85 prom_env.o \ 86 prom_emul.o \ 87 prom_getchar.o \ 88 prom_init.o \ 89 prom_node.o \ 90 prom_printf.o \ 91 prom_prop.o \ 92 prom_putchar.o \ 93 prom_reboot.o \ 94 prom_version.o 95 96# 97# file system modules 98# 99CORE_OBJS += \ 100 prmachdep.o 101 102LX_PROC_OBJS += \ 103 lx_prsubr.o \ 104 lx_prvfsops.o \ 105 lx_prvnops.o 106 107LX_AUTOFS_OBJS += \ 108 lx_autofs.o 109 110# 111# ZFS file system module 112# 113ZFS_OBJS += \ 114 spa_boot.o 115 116# 117# Decompression code 118# 119CORE_OBJS += decompress.o 120 121# 122# Microcode utilities 123# 124CORE_OBJS += ucode_utils.o 125 126# 127# Driver modules 128# 129AGPGART_OBJS += agpgart.o agp_kstat.o 130AGPTARGET_OBJS += agptarget.o 131AMD64GART_OBJS += amd64_gart.o 132ARCMSR_OBJS += arcmsr.o 133ATA_OBJS += $(GHD_OBJS) ata_blacklist.o ata_common.o ata_disk.o \ 134 ata_dma.o atapi.o atapi_fsm.o ata_debug.o \ 135 sil3xxx.o 136BSCBUS_OBJS += bscbus.o 137BSCV_OBJS += bscv.o 138CMDK_OBJS += cmdk.o 139CMLB_OBJS += cmlb.o 140CPUNEX_OBJS += cpunex.o 141DADK_OBJS += dadk.o 142DCOPY_OBJS += dcopy.o 143DNET_OBJS += dnet.o mii.o 144FD_OBJS += fd.o 145GDA_OBJS += gda.o 146GHD_OBJS += ghd.o ghd_debug.o ghd_dma.o ghd_queue.o ghd_scsa.o \ 147 ghd_scsi.o ghd_timer.o ghd_waitq.o ghd_gcmd.o 148I915_OBJS += i915_dma.o i915_drv.o i915_irq.o i915_mem.o 149LOGI_OBJS += logi.o 150MSMOUSE_OBJS += msm.o 151MSCSI_OBJS += mscsi.o 152NSKERN_OBJS += nsc_asm.o 153PCICFG_OBJS += pcicfg.o 154PCI_E_PCINEXUS_OBJS += pcie_pci.o 155PCI_PCINEXUS_OBJS += pci_pci.o 156PCIEHPCNEXUS_OBJS += pciehpc_acpi.o 157PCN_OBJS += mii.o 158PIT_BEEP_OBJS += pit_beep.o 159POWER_OBJS += power.o 160PCI_AUTOCONFIG_OBJS += pci_autoconfig.o pci_boot.o pcie_nvidia.o \ 161 pci_memlist.o pci_resource.o 162RADEON_OBJS += r300_cmdbuf.o radeon_cp.o radeon_drv.o \ 163 radeon_state.o radeon_irq.o radeon_mem.o 164SD_OBJS += sd.o sd_xbuf.o 165 166HECI_OBJS += \ 167 heci_init.o \ 168 heci_intr.o \ 169 heci_interface.o \ 170 io_heci.o \ 171 heci_main.o 172 173STRATEGY_OBJS += strategy.o 174UCODE_OBJS += ucode_drv.o 175VGATEXT_OBJS += vgatext.o vgasubr.o 176 177# 178# Kernel linker 179# 180KRTLD_OBJS += \ 181 bootrd.o \ 182 ufsops.o \ 183 hsfs.o \ 184 doreloc.o \ 185 kobj_boot.o \ 186 kobj_convrelstr.o \ 187 kobj_crt.o \ 188 kobj_isa.o \ 189 kobj_reloc.o 190 191# 192# misc. modules 193# 194ACPICA_OBJS += dbcmds.o dbdisply.o \ 195 dbexec.o dbfileio.o dbhistry.o dbinput.o dbstats.o \ 196 dbutils.o dbxface.o evevent.o evgpe.o evgpeblk.o \ 197 evmisc.o evregion.o evrgnini.o evsci.o evxface.o \ 198 evxfevnt.o evxfregn.o hwacpi.o hwgpe.o hwregs.o \ 199 hwsleep.o hwtimer.o dsfield.o dsinit.o dsmethod.o \ 200 dsmthdat.o dsobject.o dsopcode.o dsutils.o dswexec.o \ 201 dswload.o dswscope.o dswstate.o exconfig.o exconvrt.o \ 202 excreate.o exdump.o exfield.o exfldio.o exmisc.o \ 203 exmutex.o exnames.o exoparg1.o exoparg2.o exoparg3.o \ 204 exoparg6.o exprep.o exregion.o exresnte.o exresolv.o \ 205 exresop.o exstore.o exstoren.o exstorob.o exsystem.o \ 206 exutils.o psargs.o psopcode.o psparse.o psscope.o \ 207 pstree.o psutils.o pswalk.o psxface.o nsaccess.o \ 208 nsalloc.o nsdump.o nsdumpdv.o nseval.o nsinit.o \ 209 nsload.o nsnames.o nsobject.o nsparse.o nssearch.o \ 210 nsutils.o nswalk.o nsxfeval.o nsxfname.o nsxfobj.o \ 211 rsaddr.o rscalc.o rscreate.o rsdump.o \ 212 rsinfo.o rsio.o rsirq.o rslist.o rsmemory.o rsmisc.o \ 213 rsutils.o rsxface.o tbfadt.o tbfind.o tbinstal.o \ 214 tbutils.o tbxface.o tbxfroot.o \ 215 utalloc.o utclib.o utcopy.o utdebug.o utdelete.o \ 216 uteval.o utglobal.o utinit.o utmath.o utmisc.o \ 217 utobject.o utresrc.o utxface.o acpica.o acpi_enum.o \ 218 master_ops.o osl.o osl_ml.o acpica_ec.o utcache.o \ 219 utmutex.o utstate.o dmbuffer.o dmnames.o dmobject.o \ 220 dmopcode.o dmresrc.o dmresrcl.o dmresrcs.o dmutils.o \ 221 dmwalk.o psloop.o 222 223AGP_OBJS += agpmaster.o 224FBT_OBJS += fbt.o 225SDT_OBJS += sdt.o 226 227# 228# AMD8111 NIC driver module 229# 230AMD8111S_OBJS += amd8111s_main.o amd8111s_hw.o 231 232# 233# Pentium Performance Counter BackEnd module 234# 235P123_PCBE_OBJS = p123_pcbe.o 236 237# 238# Pentium 4 Performance Counter BackEnd module 239# 240P4_PCBE_OBJS = p4_pcbe.o 241 242# 243# AMD Opteron/Athlon64 Performance Counter BackEnd module 244# 245OPTERON_PCBE_OBJS = opteron_pcbe.o 246 247# 248# Intel Core Architecture Performance Counter BackEnd module 249# 250CORE_PCBE_OBJS = core_pcbe.o 251 252# 253# AMR module 254# 255AMR_OBJS = amr.o 256 257# 258# AMD_IOMMU module 259# 260AMD_IOMMU_OBJS = \ 261 amd_iommu.o \ 262 amd_iommu_impl.o \ 263 amd_iommu_acpi.o \ 264 amd_iommu_cmd.o \ 265 amd_iommu_log.o \ 266 amd_iommu_page_tables.o 267 268# 269# IOMMULIB module 270# 271IOMMULIB_OBJS = iommulib.o 272 273# 274# Brand modules 275# 276SN1_BRAND_OBJS = sn1_brand.o sn1_brand_asm.o 277 278LX_BRAND_OBJS = \ 279 lx_brand.o \ 280 lx_brand_asm.o \ 281 lx_brk.o \ 282 lx_clone.o \ 283 lx_futex.o \ 284 lx_getpid.o \ 285 lx_id.o \ 286 lx_kill.o \ 287 lx_misc.o \ 288 lx_modify_ldt.o \ 289 lx_pid.o \ 290 lx_sched.o \ 291 lx_signum.o \ 292 lx_syscall.o \ 293 lx_sysinfo.o \ 294 lx_thread_area.o 295 296# 297# special files 298# 299MODSTUB_OBJ += \ 300 modstubs.o 301 302BOOTDEV_OBJS += \ 303 bootdev.o 304 305INC_PATH += -I$(UTSBASE)/intel 306 307 308CPR_INTEL_OBJS += cpr_intel.o 309 310# 311# AMD family 0xf memory controller module 312# 313include $(SRC)/common/mc/mc-amd/Makefile.mcamd 314MCAMD_OBJS += \ 315 $(MCAMD_CMN_OBJS) \ 316 mcamd_drv.o \ 317 mcamd_dimmcfg.o \ 318 mcamd_subr.o \ 319 mcamd_pcicfg.o 320 321# 322# Intel 5000/5400/7300 MCH module 323# 324INTEL_NB5000_OBJS += \ 325 intel_nb5000.o \ 326 intel_nbdrv.o \ 327 dimm_addr.o \ 328 nb_pci_cfg.o \ 329 nb5000_init.o 330 331