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.
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.
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]
23 # Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
24 # Copyright (c) 2013, Joyent, Inc. All rights reserved.
25 # Copyright 2018 Nexenta Systems, Inc.
29 # This Makefile defines all file modules and build rules for the
30 # directory uts/intel and its children. These are the source files which
31 # are specific to x86 processor architectures.
62 # 64-bit multiply/divide compiler helper routines
100 # file system modules
108 CORE_OBJS += decompress.o
111 # Microcode utilities
113 CORE_OBJS += ucode_utils.o
118 AGPGART_OBJS += agpgart.o agp_kstat.o
119 AGPTARGET_OBJS += agptarget.o
120 AMD64GART_OBJS += amd64_gart.o
121 ARCMSR_OBJS += arcmsr.o
122 ATA_OBJS += $(GHD_OBJS) ata_blacklist.o ata_common.o ata_disk.o \
123 ata_dma.o atapi.o atapi_fsm.o ata_debug.o \
125 BSCBUS_OBJS += bscbus.o
129 CPUNEX_OBJS += cpunex.o
131 DCOPY_OBJS += dcopy.o
132 DNET_OBJS += dnet.o dnet_mii.o
135 GHD_OBJS += ghd.o ghd_debug.o ghd_dma.o ghd_queue.o ghd_scsa.o \
136 ghd_scsi.o ghd_timer.o ghd_waitq.o ghd_gcmd.o
137 I915_OBJS += i915_dma.o i915_drv.o i915_irq.o i915_mem.o \
138 i915_gem.o i915_gem_debug.o i915_gem_tiling.o
139 PCICFG_OBJS += pcicfg.o
140 PCI_PCINEXUS_OBJS += pci_pci.o
141 PCIEB_OBJS += pcieb_x86.o
142 PIT_BEEP_OBJS += pit_beep.o
143 POWER_OBJS += power.o
144 PCI_AUTOCONFIG_OBJS += pci_autoconfig.o pci_boot.o pcie_nvidia.o \
145 pci_memlist.o pci_resource.o
146 RADEON_OBJS += r300_cmdbuf.o radeon_cp.o radeon_drv.o \
147 radeon_state.o radeon_irq.o radeon_mem.o
149 STRATEGY_OBJS += strategy.o
150 UCODE_OBJS += ucode_drv.o
151 VGATEXT_OBJS += vgatext.o vgasubr.o
172 dmbuffer.o dmcstyle.o dmdeferred.o dmnames.o dmopcode.o \
173 dmresrc.o dmresrcl.o dmresrcl2.o dmresrcs.o dmutils.o \
176 dsargs.o dscontrol.o dsdebug.o dsfield.o dsinit.o \
177 dsmethod.o dsmthdat.o dsobject.o dsopcode.o dsutils.o \
178 dswexec.o dswload.o dswload2.o dswscope.o dswstate.o \
181 evevent.o evglock.o evgpe.o evgpeblk.o evgpeinit.o \
182 evgpeutil.o evhandler.o evmisc.o evregion.o evrgnini.o \
183 evsci.o evxface.o evxfevnt.o evxfgpe.o evxfregn.o \
185 exconcat.o exconfig.o exconvrt.o excreate.o exdebug.o \
186 exdump.o exfield.o exfldio.o exmisc.o exmutex.o exnames.o \
187 exoparg1.o exoparg2.o exoparg3.o exoparg6.o exprep.o \
188 exregion.o exresnte.o exresolv.o exresop.o exstore.o \
189 exstoren.o exstorob.o exsystem.o extrace.o exutils.o \
191 hwacpi.o hwesleep.o hwgpe.o hwpci.o hwregs.o hwsleep.o \
192 hwtimer.o hwvalid.o hwxface.o hwxfsleep.o \
194 psargs.o psloop.o psobject.o psopcode.o psopinfo.o \
195 psparse.o psscope.o pstree.o psutils.o pswalk.o psxface.o \
197 nsaccess.o nsalloc.o nsarguments.o nsconvert.o nsdump.o \
198 nsdumpdv.o nseval.o nsinit.o nsload.o nsnames.o nsobject.o \
199 nsparse.o nspredef.o nsprepkg.o nsrepair.o nsrepair2.o \
200 nssearch.o nsutils.o nswalk.o nsxfeval.o nsxfname.o \
203 rsaddr.o rscalc.o rscreate.o rsdump.o rsdumpinfo.o \
204 rsinfo.o rsio.o rsirq.o rslist.o rsmemory.o rsmisc.o \
205 rsserial.o rsutils.o rsxface.o \
207 tbdata.o tbfadt.o tbfind.o tbinstal.o tbprint.o tbutils.o \
208 tbxface.o tbxfload.o tbxfroot.o \
210 utaddress.o utalloc.o utascii.o utbuffer.o utcache.o \
211 utclib.o utcopy.o utdebug.o utdecode.o utdelete.o \
212 uterror.o uteval.o utexcep.o utglobal.o uthex.o utids.o \
213 utinit.o utlock.o utmath.o utmisc.o utmutex.o utnonansi.o \
214 utobject.o utosi.o utownerid.o utpredef.o utresrc.o \
215 utstate.o utstring.o uttrack.o utuuid.o utxface.o \
216 utxferror.o utxfinit.o utxfmutex.o utresdecode.o \
217 utstrsuppt.o utstrtoul64.o \
219 acpi_enum.o acpica_ec.o acpica.o ahids.o master_ops.o \
223 AGP_OBJS += agpmaster.o
228 # AMD8111 NIC driver module
230 AMD8111S_OBJS += amd8111s_main.o amd8111s_hw.o
233 # Pentium 4 Performance Counter BackEnd module
235 P4_PCBE_OBJS = p4_pcbe.o
238 # AMD Opteron/Athlon64 Performance Counter BackEnd module
240 OPTERON_PCBE_OBJS = opteron_pcbe.o
243 # Intel Core Architecture Performance Counter BackEnd module
245 CORE_PCBE_OBJS = core_pcbe.o
254 IPMI_OBJS += ipmi_main.o ipmi.o ipmi_kcs.o
259 IOMMULIB_OBJS = iommulib.o
264 SN1_BRAND_OBJS = sn1_brand.o sn1_brand_asm.o
275 INC_PATH += -I$(UTSBASE)/intel
276 INC_PATH += -I$(SRCTOP)/arch/x86/include
279 CPR_INTEL_OBJS += cpr_intel.o
282 # AMD family 0xf memory controller module
284 include $(SRC)/common/mc/mc-amd/Makefile.mcamd
293 # Intel Nehalem memory controller module
304 # Intel 5000/5100/5400/7300 chipset memory controller hub (MCH) module
306 INTEL_NB5000_OBJS += \
314 # VMware VMXNET3 virtual network device
316 VMXNET3S_OBJS = vmxnet3_main.o \
322 # VMware PVSCSI SCSI Controller
324 PVSCSI_OBJS = pvscsi.o