#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
# Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2013, Joyent, Inc. All rights reserved.
# Copyright 2016 Nexenta Systems, Inc.
#
#
# This Makefile defines all file modules and build rules for the
# directory uts/intel and its children. These are the source files which
# are specific to x86 processor architectures.
#
#
# Core (unix) objects
#
CORE_OBJS += \
copy.o \
float.o \
fmsmb.o \
fpu.o \
sseblk.o \
sundep.o \
swtch.o \
#
# 64-bit multiply/divide compiler helper routines
# used only for ia32
#
SPECIAL_OBJS_32 += \
#
# Generic-unix Module
#
GENUNIX_OBJS += \
#
# PROM Routines
#
GENUNIX_OBJS += \
#
# file system modules
#
CORE_OBJS += \
#
# ZFS file system module
#
ZFS_OBJS += \
#
# Decompression code
#
CORE_OBJS += decompress.o
#
# Microcode utilities
#
CORE_OBJS += ucode_utils.o
#
# Driver modules
#
AGPGART_OBJS += agpgart.o agp_kstat.o
AGPTARGET_OBJS += agptarget.o
AMD64GART_OBJS += amd64_gart.o
ARCMSR_OBJS += arcmsr.o
BSCBUS_OBJS += bscbus.o
BSCV_OBJS += bscv.o
CMDK_OBJS += cmdk.o
CMLB_OBJS += cmlb.o
CPUNEX_OBJS += cpunex.o
DADK_OBJS += dadk.o
DCOPY_OBJS += dcopy.o
DNET_OBJS += dnet.o dnet_mii.o
FD_OBJS += fd.o
GDA_OBJS += gda.o
NSKERN_OBJS += nsc_asm.o
PCICFG_OBJS += pcicfg.o
PCI_PCINEXUS_OBJS += pci_pci.o
PCIEB_OBJS += pcieb_x86.o
PIT_BEEP_OBJS += pit_beep.o
POWER_OBJS += power.o
HECI_OBJS += \
STRATEGY_OBJS += strategy.o
UCODE_OBJS += ucode_drv.o
#
# Kernel linker
#
KRTLD_OBJS += \
bootrd.o \
ufsops.o \
hsfs.o \
#
# misc. modules
#
ACPICA_OBJS += \
dmwalk.o \
\
\
\
\
\
\
\
\
\
\
AGP_OBJS += agpmaster.o
FBT_OBJS += fbt.o
SDT_OBJS += sdt.o
#
# AMD8111 NIC driver module
#
AMD8111S_OBJS += amd8111s_main.o amd8111s_hw.o
#
# Pentium Performance Counter BackEnd module
#
P123_PCBE_OBJS = p123_pcbe.o
#
# Pentium 4 Performance Counter BackEnd module
#
P4_PCBE_OBJS = p4_pcbe.o
#
# AMD Opteron/Athlon64 Performance Counter BackEnd module
#
OPTERON_PCBE_OBJS = opteron_pcbe.o
#
# Intel Core Architecture Performance Counter BackEnd module
#
CORE_PCBE_OBJS = core_pcbe.o
#
# AMR module
#
AMR_OBJS = amr.o
#
# IPMI module
#
# IOMMULIB module
#
IOMMULIB_OBJS = iommulib.o
#
# Brand modules
#
SN1_BRAND_OBJS = sn1_brand.o sn1_brand_asm.o
S10_BRAND_OBJS = s10_brand.o s10_brand_asm.o
#
# special files
#
MODSTUB_OBJ += \
BOOTDEV_OBJS += \
INC_PATH += -I$(UTSBASE)/intel
CPR_INTEL_OBJS += cpr_intel.o
#
# AMD family 0xf memory controller module
#
include $(SRC)/common/mc/mc-amd/Makefile.mcamd
MCAMD_OBJS += \
$(MCAMD_CMN_OBJS) \
#
# Intel Nehalem memory controller module
#
INTEL_NHM_OBJS += \
#
# Intel 5000/5100/5400/7300 chipset memory controller hub (MCH) module
#
INTEL_NB5000_OBJS += \
#
# VMware VMXNET3 virtual network device
#
VMXNET3S_OBJS = vmxnet3_main.o \
#
# VMware PVSCSI SCSI Controller
#
PVSCSI_OBJS = pvscsi.o