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 (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. 24# 25 26# 27# This Makefile defines all file modules and build rules for the 28# directory uts/intel and its children. These are the source files which 29# are specific to x86 processor architectures. 30# 31 32# 33# Core (unix) objects 34# 35CORE_OBJS += \ 36 arch_kdi.o \ 37 copy.o \ 38 copy_subr.o \ 39 cpc_subr.o \ 40 ddi_arch.o \ 41 ddi_i86.o \ 42 ddi_i86_asm.o \ 43 desctbls.o \ 44 desctbls_asm.o \ 45 exception.o \ 46 float.o \ 47 fmsmb.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 102# 103# ZFS file system module 104# 105ZFS_OBJS += \ 106 spa_boot.o 107 108# 109# Decompression code 110# 111CORE_OBJS += decompress.o 112 113# 114# Microcode utilities 115# 116CORE_OBJS += ucode_utils.o 117 118# 119# Driver modules 120# 121AGPGART_OBJS += agpgart.o agp_kstat.o 122AGPTARGET_OBJS += agptarget.o 123AMD64GART_OBJS += amd64_gart.o 124ARCMSR_OBJS += arcmsr.o 125ATA_OBJS += $(GHD_OBJS) ata_blacklist.o ata_common.o ata_disk.o \ 126 ata_dma.o atapi.o atapi_fsm.o ata_debug.o \ 127 sil3xxx.o 128BSCBUS_OBJS += bscbus.o 129BSCV_OBJS += bscv.o 130CMDK_OBJS += cmdk.o 131CMLB_OBJS += cmlb.o 132CPUNEX_OBJS += cpunex.o 133DADK_OBJS += dadk.o 134DCOPY_OBJS += dcopy.o 135DNET_OBJS += dnet.o dnet_mii.o 136FD_OBJS += fd.o 137GDA_OBJS += gda.o 138GHD_OBJS += ghd.o ghd_debug.o ghd_dma.o ghd_queue.o ghd_scsa.o \ 139 ghd_scsi.o ghd_timer.o ghd_waitq.o ghd_gcmd.o 140I915_OBJS += i915_dma.o i915_drv.o i915_irq.o i915_mem.o \ 141 i915_gem.o i915_gem_debug.o i915_gem_tiling.o 142NSKERN_OBJS += nsc_asm.o 143PCICFG_OBJS += pcicfg.o 144PCI_PCINEXUS_OBJS += pci_pci.o 145PCIEB_OBJS += pcieb_x86.o 146PIT_BEEP_OBJS += pit_beep.o 147POWER_OBJS += power.o 148PCI_AUTOCONFIG_OBJS += pci_autoconfig.o pci_boot.o pcie_nvidia.o \ 149 pci_memlist.o pci_resource.o 150RADEON_OBJS += r300_cmdbuf.o radeon_cp.o radeon_drv.o \ 151 radeon_state.o radeon_irq.o radeon_mem.o 152SD_OBJS += sd.o sd_xbuf.o 153 154HECI_OBJS += \ 155 heci_init.o \ 156 heci_intr.o \ 157 heci_interface.o \ 158 io_heci.o \ 159 heci_main.o 160 161STRATEGY_OBJS += strategy.o 162UCODE_OBJS += ucode_drv.o 163VGATEXT_OBJS += vgatext.o vgasubr.o 164 165# 166# Kernel linker 167# 168KRTLD_OBJS += \ 169 bootrd.o \ 170 ufsops.o \ 171 hsfs.o \ 172 doreloc.o \ 173 kobj_boot.o \ 174 kobj_convrelstr.o \ 175 kobj_crt.o \ 176 kobj_isa.o \ 177 kobj_reloc.o 178 179# 180# misc. modules 181# 182ACPICA_OBJS += dbcmds.o dbdisply.o \ 183 dbexec.o dbfileio.o dbhistry.o dbinput.o dbstats.o \ 184 dbutils.o dbxface.o evevent.o evgpe.o evgpeblk.o \ 185 evmisc.o evregion.o evrgnini.o evsci.o evxface.o \ 186 evxfevnt.o evxfregn.o hwacpi.o hwgpe.o hwregs.o \ 187 hwsleep.o hwtimer.o dsfield.o dsinit.o dsmethod.o \ 188 dsmthdat.o dsobject.o dsopcode.o dsutils.o dswexec.o \ 189 dswload.o dswscope.o dswstate.o exconfig.o exconvrt.o \ 190 excreate.o exdump.o exfield.o exfldio.o exmisc.o \ 191 exmutex.o exnames.o exoparg1.o exoparg2.o exoparg3.o \ 192 exoparg6.o exprep.o exregion.o exresnte.o exresolv.o \ 193 exresop.o exstore.o exstoren.o exstorob.o exsystem.o \ 194 exutils.o psargs.o psopcode.o psparse.o psscope.o \ 195 pstree.o psutils.o pswalk.o psxface.o nsaccess.o \ 196 nsalloc.o nsdump.o nsdumpdv.o nseval.o nsinit.o \ 197 nsload.o nsnames.o nsobject.o nsparse.o nssearch.o \ 198 nsutils.o nswalk.o nsxfeval.o nsxfname.o nsxfobj.o \ 199 rsaddr.o rscalc.o rscreate.o rsdump.o \ 200 rsinfo.o rsio.o rsirq.o rslist.o rsmemory.o rsmisc.o \ 201 rsutils.o rsxface.o tbfadt.o tbfind.o tbinstal.o \ 202 tbutils.o tbxface.o tbxfroot.o \ 203 utalloc.o utclib.o utcopy.o utdebug.o utdelete.o \ 204 uteval.o utglobal.o utinit.o utmath.o utmisc.o \ 205 utobject.o utresrc.o utxface.o acpica.o acpi_enum.o \ 206 master_ops.o osl.o osl_ml.o acpica_ec.o utcache.o \ 207 utmutex.o utstate.o dmbuffer.o dmnames.o dmobject.o \ 208 dmopcode.o dmresrc.o dmresrcl.o dmresrcs.o dmutils.o \ 209 dmwalk.o psloop.o nspredef.o hwxface.o hwvalid.o \ 210 utlock.o utids.o nsrepair.o nsrepair2.o 211 212AGP_OBJS += agpmaster.o 213FBT_OBJS += fbt.o 214SDT_OBJS += sdt.o 215 216# 217# AMD8111 NIC driver module 218# 219AMD8111S_OBJS += amd8111s_main.o amd8111s_hw.o 220 221# 222# Pentium Performance Counter BackEnd module 223# 224P123_PCBE_OBJS = p123_pcbe.o 225 226# 227# Pentium 4 Performance Counter BackEnd module 228# 229P4_PCBE_OBJS = p4_pcbe.o 230 231# 232# AMD Opteron/Athlon64 Performance Counter BackEnd module 233# 234OPTERON_PCBE_OBJS = opteron_pcbe.o 235 236# 237# Intel Core Architecture Performance Counter BackEnd module 238# 239CORE_PCBE_OBJS = core_pcbe.o 240 241# 242# AMR module 243# 244AMR_OBJS = amr.o 245 246# 247# IOMMULIB module 248# 249IOMMULIB_OBJS = iommulib.o 250 251# 252# Brand modules 253# 254SN1_BRAND_OBJS = sn1_brand.o sn1_brand_asm.o 255S10_BRAND_OBJS = s10_brand.o s10_brand_asm.o 256 257# 258# special files 259# 260MODSTUB_OBJ += \ 261 modstubs.o 262 263BOOTDEV_OBJS += \ 264 bootdev.o 265 266INC_PATH += -I$(UTSBASE)/intel 267 268 269CPR_INTEL_OBJS += cpr_intel.o 270 271# 272# AMD family 0xf memory controller module 273# 274include $(SRC)/common/mc/mc-amd/Makefile.mcamd 275MCAMD_OBJS += \ 276 $(MCAMD_CMN_OBJS) \ 277 mcamd_drv.o \ 278 mcamd_dimmcfg.o \ 279 mcamd_subr.o \ 280 mcamd_pcicfg.o 281