xref: /titanic_51/usr/src/uts/i86pc/Makefile.files (revision fc1821fee2e1f208a4b5ff3e229e97b87979208a)
17c478bd9Sstevel@tonic-gate#
27c478bd9Sstevel@tonic-gate# CDDL HEADER START
37c478bd9Sstevel@tonic-gate#
47c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the
57c478bd9Sstevel@tonic-gate# Common Development and Distribution License, Version 1.0 only
67c478bd9Sstevel@tonic-gate# (the "License").  You may not use this file except in compliance
77c478bd9Sstevel@tonic-gate# with the License.
87c478bd9Sstevel@tonic-gate#
97c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
107c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing.
117c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions
127c478bd9Sstevel@tonic-gate# and limitations under the License.
137c478bd9Sstevel@tonic-gate#
147c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each
157c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
167c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the
177c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying
187c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner]
197c478bd9Sstevel@tonic-gate#
207c478bd9Sstevel@tonic-gate# CDDL HEADER END
217c478bd9Sstevel@tonic-gate#
227c478bd9Sstevel@tonic-gate#
237c478bd9Sstevel@tonic-gate# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
247c478bd9Sstevel@tonic-gate# Use is subject to license terms.
257c478bd9Sstevel@tonic-gate#
267c478bd9Sstevel@tonic-gate#ident	"%Z%%M%	%I%	%E% SMI"
277c478bd9Sstevel@tonic-gate#
287c478bd9Sstevel@tonic-gate#	This Makefile defines all file modules in the directory uts/i86pc
297c478bd9Sstevel@tonic-gate#	and it's children. These are the source files which i86pc
307c478bd9Sstevel@tonic-gate#	"implementation architecture" dependent.
317c478bd9Sstevel@tonic-gate#
327c478bd9Sstevel@tonic-gate
337c478bd9Sstevel@tonic-gate#
347c478bd9Sstevel@tonic-gate#	object lists
357c478bd9Sstevel@tonic-gate#
367c478bd9Sstevel@tonic-gateCORE_OBJS +=			\
377c478bd9Sstevel@tonic-gate	beeper.o		\
387c478bd9Sstevel@tonic-gate	biosdisk.o		\
397c478bd9Sstevel@tonic-gate	cbe.o			\
407c478bd9Sstevel@tonic-gate	confunix.o		\
417c478bd9Sstevel@tonic-gate	cpuid.o			\
427c478bd9Sstevel@tonic-gate	dis_tables.o		\
437c478bd9Sstevel@tonic-gate	ddi_impl.o		\
447c478bd9Sstevel@tonic-gate	dtrace_subr.o		\
457c478bd9Sstevel@tonic-gate	dvma.o			\
467c478bd9Sstevel@tonic-gate	graphics.o		\
477c478bd9Sstevel@tonic-gate	hat_i86.o		\
487c478bd9Sstevel@tonic-gate	hat_kdi.o		\
497c478bd9Sstevel@tonic-gate	hment.o			\
507c478bd9Sstevel@tonic-gate	hrtimers.o		\
517c478bd9Sstevel@tonic-gate	htable.o		\
527c478bd9Sstevel@tonic-gate	instr_size.o		\
537c478bd9Sstevel@tonic-gate	intr.o			\
547c478bd9Sstevel@tonic-gate	lgrpplat.o		\
557c478bd9Sstevel@tonic-gate	mach_i86mmu.o		\
567c478bd9Sstevel@tonic-gate	mach_kdi.o		\
577c478bd9Sstevel@tonic-gate	mach_sysconfig.o	\
587c478bd9Sstevel@tonic-gate	machdep.o		\
597c478bd9Sstevel@tonic-gate	mem_config_stubs.o	\
607c478bd9Sstevel@tonic-gate	memnode.o		\
617c478bd9Sstevel@tonic-gate	mlsetup.o		\
627c478bd9Sstevel@tonic-gate	mp_call.o		\
637c478bd9Sstevel@tonic-gate	mp_implfuncs.o		\
647c478bd9Sstevel@tonic-gate	mp_machdep.o		\
657c478bd9Sstevel@tonic-gate	mp_startup.o		\
667c478bd9Sstevel@tonic-gate	memscrub.o		\
677c478bd9Sstevel@tonic-gate	mpcore.o		\
687c478bd9Sstevel@tonic-gate	notes.o			\
69c88420b3Sdmick	pci_cfgspace.o		\
70c88420b3Sdmick	pci_mech1.o		\
71c88420b3Sdmick	pci_mech2.o		\
72c88420b3Sdmick	pci_neptune.o		\
73c88420b3Sdmick	pci_orion.o		\
747c478bd9Sstevel@tonic-gate	pmem.o			\
757c478bd9Sstevel@tonic-gate	ppage.o			\
767c478bd9Sstevel@tonic-gate	startup.o		\
777c478bd9Sstevel@tonic-gate	timestamp.o		\
787c478bd9Sstevel@tonic-gate	trap.o			\
797c478bd9Sstevel@tonic-gate	vm_machdep.o		\
807c478bd9Sstevel@tonic-gate	x_call.o
817c478bd9Sstevel@tonic-gate
827c478bd9Sstevel@tonic-gate#
8384ab085aSmws#	Add the SMBIOS subsystem object files directly to the list of objects
8484ab085aSmws#	built into unix itself; this is all common code except for smb_dev.c.
8584ab085aSmws#
8684ab085aSmwsCORE_OBJS += $(SMBIOS_OBJS)
8784ab085aSmws
8884ab085aSmws#
897c478bd9Sstevel@tonic-gate#	locore.o is special. It must be the first file relocated so that it
907c478bd9Sstevel@tonic-gate#	it is relocated just where its name implies.
917c478bd9Sstevel@tonic-gate#
927c478bd9Sstevel@tonic-gateSPECIAL_OBJS_32 +=		\
937c478bd9Sstevel@tonic-gate	locore.o		\
947c478bd9Sstevel@tonic-gate	fast_trap_asm.o		\
957c478bd9Sstevel@tonic-gate	interrupt.o		\
967c478bd9Sstevel@tonic-gate	syscall_asm.o
977c478bd9Sstevel@tonic-gate
987c478bd9Sstevel@tonic-gateSPECIAL_OBJS_64 +=		\
997c478bd9Sstevel@tonic-gate	locore.o		\
1007c478bd9Sstevel@tonic-gate	fast_trap_asm.o		\
1017c478bd9Sstevel@tonic-gate	interrupt.o		\
1027c478bd9Sstevel@tonic-gate	syscall_asm_amd64.o
1037c478bd9Sstevel@tonic-gate
1047c478bd9Sstevel@tonic-gateSPECIAL_OBJS += $(SPECIAL_OBJS_$(CLASS))
1057c478bd9Sstevel@tonic-gate
1067c478bd9Sstevel@tonic-gate#
1077c478bd9Sstevel@tonic-gate#			driver modules
1087c478bd9Sstevel@tonic-gate#
1097c478bd9Sstevel@tonic-gateROOTNEX_OBJS += rootnex.o
1107c478bd9Sstevel@tonic-gateISANEXUS_OBJS += isa.o dma_engine.o i8237A.o
1117a364d25SschwartzPCINEXUS_OBJS += pci.o pci_common.o pci_kstats.o pci_tools.o
1127c478bd9Sstevel@tonic-gate
1137c478bd9Sstevel@tonic-gateTCIC_OBJS +=	tcic.o
1147c478bd9Sstevel@tonic-gate
1157c478bd9Sstevel@tonic-gateATA_OBJS +=	$(GHD_OBJS) ata_blacklist.o ata_common.o ata_disk.o \
1167c478bd9Sstevel@tonic-gate		ata_dma.o atapi.o atapi_fsm.o ata_debug.o \
1177c478bd9Sstevel@tonic-gate		sil3xxx.o
1187c478bd9Sstevel@tonic-gate
1197c478bd9Sstevel@tonic-gateCHS_OBJS	+= chs.o chs_busops.o chs_conf.o chs_dac.o	\
1207c478bd9Sstevel@tonic-gate		   chs_devops.o chs_hba.o chs_interrupt.o	\
1217c478bd9Sstevel@tonic-gate		   chs_intr.o chs_queue.o chs_raid.o		\
1227c478bd9Sstevel@tonic-gate		   chs_transport.o chs_viper.o chs_viperconf.o
1237c478bd9Sstevel@tonic-gate
1247c478bd9Sstevel@tonic-gateNCRS_OBJS	+= glm.o
1257c478bd9Sstevel@tonic-gateELXL_OBJS	+= elxl.o elxl_cmn.o mii.o
1267c478bd9Sstevel@tonic-gate
1277c478bd9Sstevel@tonic-gateFD_OBJS		+= fd.o
1287c478bd9Sstevel@tonic-gate
1297c478bd9Sstevel@tonic-gatePCN_OBJS	+= mii.o
1307c478bd9Sstevel@tonic-gateSBPRO_OBJS	+= sbpro.o
1317c478bd9Sstevel@tonic-gate
1327c478bd9Sstevel@tonic-gateDNET_OBJS	+= dnet.o mii.o
1337c478bd9Sstevel@tonic-gateIPRB_OBJS	+= iprb.o mii.o
1347c478bd9Sstevel@tonic-gateBMC_OBJS	+= bmc_fe.o bmc_kcs.o
1357c478bd9Sstevel@tonic-gateLOGI_OBJS	+= logi.o
1367c478bd9Sstevel@tonic-gateMSCSI_OBJS	+= mscsi.o
1377c478bd9Sstevel@tonic-gateMSMOUSE_OBJS	+= msm.o
1387c478bd9Sstevel@tonic-gatePCPLUSMP_OBJS	+= apic.o psm_common.o apic_introp.o
1397c478bd9Sstevel@tonic-gateRTLS_OBJS	+= rtls.o
1407c478bd9Sstevel@tonic-gateSPWR_OBJS	+= spwr.o 9432.o lm9432.o lm9432cf.o
1417c478bd9Sstevel@tonic-gateAGPGART_OBJS	+=	agpgart.o \
1427c478bd9Sstevel@tonic-gate			agp_kstat.o
1437c478bd9Sstevel@tonic-gateAGPTARGET_OBJS	+=	agptarget.o
1447c478bd9Sstevel@tonic-gateAMD64GART_OBJS	+=	amd64_gart.o
1457c478bd9Sstevel@tonic-gateBSCV_OBJS	+= bscv.o
1467c478bd9Sstevel@tonic-gateBSCBUS_OBJS	+= bscbus.o
1477c478bd9Sstevel@tonic-gate
1487c478bd9Sstevel@tonic-gate#
14970025d76Sjohnny#	PCI-Express driver modules
15070025d76Sjohnny#
1517a364d25SschwartzPCI_E_NEXUS_OBJS += npe.o npe_misc.o
1527a364d25SschwartzPCI_E_NEXUS_OBJS += pci_common.o pci_kstats.o pci_tools.o pcie_error.o
15370025d76SjohnnyPCI_E_PCINEXUS_OBJS += pcie_pci.o pcie_error.o
15470025d76SjohnnyPCIEHPCNEXUS_OBJS += pciehpc_x86.o pciehpc_acpi.o pciehpc_ck804.o
15570025d76Sjohnny
15670025d76Sjohnny#
1577c478bd9Sstevel@tonic-gate#	platform specific modules
1587c478bd9Sstevel@tonic-gate#
1597c478bd9Sstevel@tonic-gateUPPC_OBJS += uppc.o psm_common.o
1607c478bd9Sstevel@tonic-gatePCI_AUTOCONFIG_OBJS += \
1617c478bd9Sstevel@tonic-gate	pci_autoconfig.o \
1627c478bd9Sstevel@tonic-gate	pci_boot.o	\
16370025d76Sjohnny	pcie_ck804_boot.o	\
1647c478bd9Sstevel@tonic-gate	pci_memlist.o	\
1657c478bd9Sstevel@tonic-gate	pci_resource.o
1667c478bd9Sstevel@tonic-gate
1677c478bd9Sstevel@tonic-gateACPICA_OBJS	+= dbcmds.o dbdisply.o \
1687c478bd9Sstevel@tonic-gate		   dbexec.o dbfileio.o dbhistry.o dbinput.o dbstats.o \
1697c478bd9Sstevel@tonic-gate		   dbutils.o dbxface.o evevent.o evgpe.o evgpeblk.o \
1707c478bd9Sstevel@tonic-gate		   evmisc.o evregion.o evrgnini.o evsci.o evxface.o \
1717c478bd9Sstevel@tonic-gate		   evxfevnt.o evxfregn.o hwacpi.o hwgpe.o hwregs.o \
1727c478bd9Sstevel@tonic-gate		   hwsleep.o hwtimer.o dsfield.o dsinit.o dsmethod.o \
1737c478bd9Sstevel@tonic-gate		   dsmthdat.o dsobject.o dsopcode.o dsutils.o dswexec.o \
1747c478bd9Sstevel@tonic-gate		   dswload.o dswscope.o dswstate.o exconfig.o exconvrt.o \
1757c478bd9Sstevel@tonic-gate		   excreate.o exdump.o exfield.o exfldio.o exmisc.o \
1767c478bd9Sstevel@tonic-gate		   exmutex.o exnames.o exoparg1.o exoparg2.o exoparg3.o \
1777c478bd9Sstevel@tonic-gate		   exoparg6.o exprep.o exregion.o exresnte.o exresolv.o \
1787c478bd9Sstevel@tonic-gate		   exresop.o exstore.o exstoren.o exstorob.o exsystem.o \
1797c478bd9Sstevel@tonic-gate		   exutils.o psargs.o psopcode.o psparse.o psscope.o \
1807c478bd9Sstevel@tonic-gate		   pstree.o psutils.o pswalk.o psxface.o nsaccess.o \
1817c478bd9Sstevel@tonic-gate		   nsalloc.o nsdump.o nsdumpdv.o nseval.o nsinit.o \
1827c478bd9Sstevel@tonic-gate		   nsload.o nsnames.o nsobject.o nsparse.o nssearch.o \
1837c478bd9Sstevel@tonic-gate		   nsutils.o nswalk.o nsxfeval.o nsxfname.o nsxfobj.o \
1847c478bd9Sstevel@tonic-gate		   rsaddr.o rscalc.o rscreate.o rsdump.o \
185186507a7Smyers		   rsinfo.o rsio.o rsirq.o rslist.o rsmemory.o rsmisc.o \
1867c478bd9Sstevel@tonic-gate		   rsutils.o rsxface.o tbconvrt.o tbget.o tbgetall.o \
1877c478bd9Sstevel@tonic-gate		   tbinstal.o tbrsdt.o tbutils.o tbxface.o tbxfroot.o \
1887c478bd9Sstevel@tonic-gate		   utalloc.o utclib.o utcopy.o utdebug.o utdelete.o \
1897c478bd9Sstevel@tonic-gate		   uteval.o utglobal.o utinit.o utmath.o utmisc.o \
1907c478bd9Sstevel@tonic-gate		   utobject.o utxface.o acpica.o acpi_enum.o master_ops.o \
191450d6964Smyers		   osl.o osl_ml.o acpica_ec.o utcache.o utmutex.o utstate.o \
192450d6964Smyers		   psloop.o
1937c478bd9Sstevel@tonic-gate
194fd358c0dSmyersPOWER_OBJS	+= power.o
195fd358c0dSmyers
196*fc1821feSrugratGFX_PRIVATE_OBJS	+= gfx_private.o gfxp_pci.o gfxp_segmap.o \
197*fc1821feSrugrat			   gfxp_devmap.o gfxp_vgatext.o gfxp_vm.o vgasubr.o
198*fc1821feSrugrat
1997c478bd9Sstevel@tonic-gate#
2007c478bd9Sstevel@tonic-gate#	Build up defines and paths.
2017c478bd9Sstevel@tonic-gate#
2027c478bd9Sstevel@tonic-gateALL_DEFS	+= -Di86pc
2037c478bd9Sstevel@tonic-gateINC_PATH	+= -I$(UTSBASE)/i86pc
2047c478bd9Sstevel@tonic-gate
2057c478bd9Sstevel@tonic-gate#
2067c478bd9Sstevel@tonic-gate# Since assym.h is a derived file, the dependency must be explicit for
2077c478bd9Sstevel@tonic-gate# all files including this file. (This is only actually required in the
2087c478bd9Sstevel@tonic-gate# instance when the .nse_depinfo file does not exist.) It may seem that
2097c478bd9Sstevel@tonic-gate# the lint targets should also have a similar dependency, but they don't
2107c478bd9Sstevel@tonic-gate# since only C headers are included when #defined(__lint) is true.
2117c478bd9Sstevel@tonic-gate#
2127c478bd9Sstevel@tonic-gateASSYM_DEPS      += 		\
2137c478bd9Sstevel@tonic-gate	copy.o			\
2147c478bd9Sstevel@tonic-gate	desctbls_asm.o		\
2157c478bd9Sstevel@tonic-gate	ddi_i86_asm.o		\
2167c478bd9Sstevel@tonic-gate	exception.o		\
2177c478bd9Sstevel@tonic-gate	fast_trap_asm.o		\
2187c478bd9Sstevel@tonic-gate	float.o			\
2197c478bd9Sstevel@tonic-gate	i86_subr.o		\
2207c478bd9Sstevel@tonic-gate	interrupt.o		\
2217c478bd9Sstevel@tonic-gate	lock_prim.o		\
2227c478bd9Sstevel@tonic-gate	locore.o		\
2237c478bd9Sstevel@tonic-gate	mpcore.o		\
2247c478bd9Sstevel@tonic-gate	sseblk.o		\
2257c478bd9Sstevel@tonic-gate	swtch.o			\
2267c478bd9Sstevel@tonic-gate	syscall_asm.o		\
2277c478bd9Sstevel@tonic-gate	syscall_asm_amd64.o
228