xref: /illumos-gate/usr/src/uts/intel/Makefile.files (revision c0586b87)
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
5830d82f7Spl# Common Development and Distribution License (the "License").
6830d82f7Spl# You may not use this file except in compliance with the License.
77c478bd9Sstevel@tonic-gate#
87c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
97c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing.
107c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions
117c478bd9Sstevel@tonic-gate# and limitations under the License.
127c478bd9Sstevel@tonic-gate#
137c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each
147c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
157c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the
167c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying
177c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner]
187c478bd9Sstevel@tonic-gate#
197c478bd9Sstevel@tonic-gate# CDDL HEADER END
207c478bd9Sstevel@tonic-gate#
219acbbeafSnn
227c478bd9Sstevel@tonic-gate#
23eb5a5c78SSurya Prakki# Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
24dc90e123SRobert Mustacchi# Copyright 2019 Joyent, Inc.
25b13f152eSYuri Pankov# Copyright 2018 Nexenta Systems, Inc.
2666582b60SPeter Tribble# Copyright 2019 Peter Tribble.
277c8c0b82SPatrick Mooney# Copyright 2022 Oxide Computer Company
287c478bd9Sstevel@tonic-gate#
29e4b86885SCheng Sean Ye
307c478bd9Sstevel@tonic-gate#
317c478bd9Sstevel@tonic-gate#	This Makefile defines all file modules and build rules for the
32fb9f9b97Skupfer# directory uts/intel and its children. These are the source files which
337c478bd9Sstevel@tonic-gate# are specific to x86 processor architectures.
347c478bd9Sstevel@tonic-gate#
357c478bd9Sstevel@tonic-gate
367c478bd9Sstevel@tonic-gate#
377c478bd9Sstevel@tonic-gate#	Core (unix) objects
387c478bd9Sstevel@tonic-gate#
397c478bd9Sstevel@tonic-gateCORE_OBJS +=		\
40ae115bc7Smrj	arch_kdi.o	\
412428aad8SPatrick Mooney	comm_page_util.o \
427c478bd9Sstevel@tonic-gate	copy.o		\
437c478bd9Sstevel@tonic-gate	copy_subr.o	\
447c478bd9Sstevel@tonic-gate	cpc_subr.o	\
457c478bd9Sstevel@tonic-gate	ddi_arch.o	\
467c478bd9Sstevel@tonic-gate	ddi_i86.o	\
477c478bd9Sstevel@tonic-gate	ddi_i86_asm.o	\
487c478bd9Sstevel@tonic-gate	desctbls.o	\
497c478bd9Sstevel@tonic-gate	desctbls_asm.o	\
507c478bd9Sstevel@tonic-gate	exception.o	\
517c478bd9Sstevel@tonic-gate	float.o		\
52074bb90dSTom Pothier	fmsmb.o		\
537c478bd9Sstevel@tonic-gate	fpu.o		\
547c478bd9Sstevel@tonic-gate	i86_subr.o	\
557c478bd9Sstevel@tonic-gate	lock_prim.o	\
567c478bd9Sstevel@tonic-gate	ovbcopy.o	\
577c478bd9Sstevel@tonic-gate	polled_io.o	\
5865f20420SRobert Mustacchi	retpoline.o	\
597c478bd9Sstevel@tonic-gate	sseblk.o	\
607c478bd9Sstevel@tonic-gate	sundep.o	\
617c478bd9Sstevel@tonic-gate	swtch.o		\
627c478bd9Sstevel@tonic-gate	sysi86.o
637c478bd9Sstevel@tonic-gate
6465f20420SRobert MustacchiDBOOT_OBJS +=		\
6565f20420SRobert Mustacchi	retpoline.o
6665f20420SRobert Mustacchi
677c478bd9Sstevel@tonic-gate#
687c478bd9Sstevel@tonic-gate#	Generic-unix Module
697c478bd9Sstevel@tonic-gate#
707c478bd9Sstevel@tonic-gateGENUNIX_OBJS +=		\
717c478bd9Sstevel@tonic-gate	archdep.o	\
727c478bd9Sstevel@tonic-gate	getcontext.o	\
737c478bd9Sstevel@tonic-gate	install_utrap.o	\
74843e1988Sjohnlev	lwp_private.o	\
757c478bd9Sstevel@tonic-gate	prom_enter.o	\
767c478bd9Sstevel@tonic-gate	prom_exit.o	\
777c478bd9Sstevel@tonic-gate	prom_panic.o	\
787c478bd9Sstevel@tonic-gate	sendsig.o	\
797c478bd9Sstevel@tonic-gate	syscall.o
807c478bd9Sstevel@tonic-gate
817c478bd9Sstevel@tonic-gate
827c478bd9Sstevel@tonic-gate#
837c478bd9Sstevel@tonic-gate#	PROM Routines
847c478bd9Sstevel@tonic-gate#
857c478bd9Sstevel@tonic-gateGENUNIX_OBJS +=		\
867c478bd9Sstevel@tonic-gate	prom_env.o	\
877c478bd9Sstevel@tonic-gate	prom_emul.o	\
887c478bd9Sstevel@tonic-gate	prom_getchar.o	\
897c478bd9Sstevel@tonic-gate	prom_init.o	\
907c478bd9Sstevel@tonic-gate	prom_node.o	\
917c478bd9Sstevel@tonic-gate	prom_printf.o	\
927c478bd9Sstevel@tonic-gate	prom_prop.o	\
937c478bd9Sstevel@tonic-gate	prom_putchar.o	\
947c478bd9Sstevel@tonic-gate	prom_reboot.o	\
957c478bd9Sstevel@tonic-gate	prom_version.o
967c478bd9Sstevel@tonic-gate
977c478bd9Sstevel@tonic-gate#
987c478bd9Sstevel@tonic-gate#	file system modules
997c478bd9Sstevel@tonic-gate#
1007c478bd9Sstevel@tonic-gateCORE_OBJS +=		\
1017c478bd9Sstevel@tonic-gate	prmachdep.o
1027c478bd9Sstevel@tonic-gate
1037c8c0b82SPatrick Mooney#
1047c8c0b82SPatrick Mooney#	shared hypervisor functionality
1057c8c0b82SPatrick Mooney#
1067c8c0b82SPatrick MooneyCORE_OBJS +=		\
1077c8c0b82SPatrick Mooney	hma.o		\
1087c8c0b82SPatrick Mooney	hma_asm.o	\
1097c8c0b82SPatrick Mooney	hma_fpu.o	\
1107c8c0b82SPatrick Mooney	smt.o		\
1117c8c0b82SPatrick Mooney
112e7cbe64fSgw#
113e7cbe64fSgw#	ZFS file system module
114e7cbe64fSgw#
115e7cbe64fSgwZFS_OBJS +=		\
116e7cbe64fSgw	spa_boot.o
117e7cbe64fSgw
1187c478bd9Sstevel@tonic-gate#
119ae115bc7Smrj#	Decompression code
1207c478bd9Sstevel@tonic-gate#
121c9431fa1SahlCORE_OBJS += decompress.o
1227c478bd9Sstevel@tonic-gate
1232449e17fSsherrym#
1242449e17fSsherrym#	Microcode utilities
1252449e17fSsherrym#
1262449e17fSsherrymCORE_OBJS += ucode_utils.o
1272449e17fSsherrym
128ae115bc7Smrj#
129ae115bc7Smrj#	Driver modules
130ae115bc7Smrj#
131508aff1aSJames C. McPhersonARCMSR_OBJS += arcmsr.o
132ae115bc7SmrjATA_OBJS += $(GHD_OBJS) ata_blacklist.o ata_common.o ata_disk.o \
133ae115bc7Smrj	ata_dma.o atapi.o atapi_fsm.o ata_debug.o \
134ae115bc7Smrj	sil3xxx.o
135ae115bc7SmrjCMDK_OBJS += cmdk.o
1363ccda647SlcleeCMLB_OBJS += cmlb.o
137843e1988SjohnlevCPUNEX_OBJS += cpunex.o
138ae115bc7SmrjDADK_OBJS += dadk.o
13917169044SbrutusDCOPY_OBJS += dcopy.o
140bdb9230aSGarrett D'AmoreDNET_OBJS += dnet.o dnet_mii.o
141ae115bc7SmrjFD_OBJS += fd.o
142ae115bc7SmrjGDA_OBJS += gda.o
143ae115bc7SmrjGHD_OBJS += ghd.o ghd_debug.o ghd_dma.o ghd_queue.o ghd_scsa.o \
144ae115bc7Smrj	ghd_scsi.o ghd_timer.o ghd_waitq.o ghd_gcmd.o
1450035d21cSmiao chen - Sun Microsystems - Beijing ChinaI915_OBJS += i915_dma.o i915_drv.o i915_irq.o i915_mem.o \
1460035d21cSmiao chen - Sun Microsystems - Beijing China	i915_gem.o i915_gem_debug.o i915_gem_tiling.o
147fcf3ce44SJohn ForteNSKERN_OBJS += nsc_asm.o
14823c35297SanishPCICFG_OBJS += pcicfg.o
149