xref: /netbsd-src/sys/arch/powerpc/conf/files.powerpc (revision 2a0b5adf6158e3a2fd78634969b8da2ed88eb5f0)
1*2a0b5adfSrin#	$NetBSD: files.powerpc,v 1.102 2022/05/30 14:05:36 rin Exp $
20fa23113Slukem
3b8ea2c8cSmattdefflag	opt_altivec.h	ALTIVEC K_ALTIVEC PPC_HAVE_SPE
4f324b627Schristosdefflag	opt_openpic.h	OPENPIC_DISTRIBUTE
512c9d0e1Srindefparam opt_ppcparam.h	L2CR_CONFIG L3CR_CONFIG INTSTK CLOCKBASE VERBOSE_INITPPC PPC_CPU_FREQ
61c329715Srindefflag	opt_ppcarch.h	PPC_OEA PPC_OEA601 PPC_OEA64 PPC_OEA64_BRIDGE PPC_MPC8XX PPC_IBM4XX PPC_IBM403 PPC_IBM440 PPC_BOOKE
7515e5848Skiyoharadefflag opt_ppccache.h	CACHE_PROTO_MEI
8*2a0b5adfSrindefflag	opt_ppcopts.h	PPC_NO_UNALIGNED
9169faeb0Srindefflag opt_pmap.h	PMAPDEBUG PMAPCHECK PMAPCOUNTERS PMAP_MINIMALTLB PMAP_TLBDEBUG
103ddd2de9Saymericdefparam opt_pmap.h	PTEGCOUNT PMAP_MEMLIMIT
11d56d2101Smycroft
1292ce8c6aSadfile	arch/powerpc/powerpc/core_machdep.c		coredump
13*2a0b5adfSrinfile	arch/powerpc/powerpc/fix_unaligned.c		ppc_no_unaligned
14b07f072bSmattfile	arch/powerpc/powerpc/fixup.c
15279833d1Sbriggsfile	arch/powerpc/powerpc/kgdb_machdep.c		kgdb
16de5c0b29Sadfile	arch/powerpc/powerpc/kobj_machdep.c		modular
17b07ec3fcSadfile	arch/powerpc/powerpc/lock_stubs.S
18cbb39b88Sbriggsfile	arch/powerpc/powerpc/openpic.c			openpic
1981953d91Sgarbledfile	arch/powerpc/powerpc/pmap_subr.c		ppc_oea | ppc_oea64 | ppc_oea64_bridge | ppc_oea601
20aba3f265Smattfile	arch/powerpc/powerpc/powerpc_machdep.c
214d9da7b2Schristosfile	arch/powerpc/powerpc/process_machdep.c
227c1e50a2Smattfile	arch/powerpc/powerpc/setfault.S
23eac57845Skleinkfile	arch/powerpc/powerpc/sig_machdep.c
246040f5caSmattfile	arch/powerpc/powerpc/sigcode.S			compat_16
255a261ccfSmattfile	arch/powerpc/powerpc/softint_machdep.c
265804d3f6Swsfile	arch/powerpc/powerpc/sys_machdep.c
27685778b5Smattfile	arch/powerpc/powerpc/syscall.c
289c11ca3dSsakamotofile	arch/powerpc/powerpc/vm_machdep.c
29279833d1Sbriggsfile	arch/powerpc/powerpc/setjmp.S			ddb | kgdb
30279833d1Sbriggsfile	arch/powerpc/powerpc/db_memrw.c			ddb | kgdb
317055a6a9Ssakamotofile	arch/powerpc/powerpc/db_disasm.c		ddb
320ac46816Sdbjfile	arch/powerpc/powerpc/db_interface.c		ddb | kgdb
337055a6a9Ssakamotofile	arch/powerpc/powerpc/db_trace.c			ddb
34f36a02e8Smattfile	arch/powerpc/powerpc/fpu.c
35139e8f03Smattfile	arch/powerpc/powerpc/intr_stubs.c		ppc_booke
36c7d391b2Sthorpej
37078fcd27Srinfile	uvm/pmap/pmap_pvt.c				modular | (ppc_oea | ppc_oea64 | ppc_oea64_bridge | ppc_oea601)
38078fcd27Srin
3918b2f7e6Ssimonb# IBM 4xx Family files (40x)
4018b2f7e6Ssimonbfile	arch/powerpc/ibm4xx/pmap.c			ppc_ibm4xx
4118b2f7e6Ssimonbfile	arch/powerpc/ibm4xx/trap.c			ppc_ibm4xx
427c79cb04Seehfile	arch/powerpc/ibm4xx/clock.c			ppc_ibm4xx
4318b2f7e6Ssimonbfile	arch/powerpc/ibm4xx/copyinstr.c			ppc_ibm4xx
4418b2f7e6Ssimonbfile	arch/powerpc/ibm4xx/copyoutstr.c		ppc_ibm4xx
4518b2f7e6Ssimonb
46265929b2Ssanjayl# MPC (Motorola PowerPC) 6xx Family files (60x,74x,75x,74xx), IBM 970 family (bridge mode??)
47938edd5bSmatt#
48d974db0aSgarbleddefparam opt_oea.h EXTMAP_RANGES=20
49265929b2Ssanjaylfile	arch/powerpc/oea/altivec.c			(ppc_oea |ppc_oea64 | ppc_oea64_bridge) & altivec
5081953d91Sgarbledfile	arch/powerpc/oea/cpu_subr.c			ppc_oea | ppc_oea64 | ppc_oea64_bridge | ppc_oea601
510e0166f0Smacallanfile	arch/powerpc/oea/cpu_speedctl.c			ppc_oea64 | ppc_oea64_bridge
5281953d91Sgarbledfile	arch/powerpc/oea/oea_machdep.c			ppc_oea | ppc_oea64 | ppc_oea64_bridge | ppc_oea601
5381953d91Sgarbledfile	arch/powerpc/oea/pmap.c				ppc_oea | ppc_oea601
544b513a99Sgarbledfile	arch/powerpc/oea/pmap64.c			ppc_oea64
554b513a99Sgarbledfile	arch/powerpc/oea/pmap64_bridge.c		ppc_oea64_bridge
56ea4b11acSpookafile	arch/powerpc/oea/pmap_kernel.c			ppc_oea | ppc_oea64 | ppc_oea64_bridge | ppc_oea601
5781953d91Sgarbledfile	arch/powerpc/powerpc/trap.c			ppc_oea | ppc_oea64 | ppc_oea64_bridge | ppc_oea601
58938edd5bSmatt
59d442abeaSmatt# PPC BookE (MPC85xx) Family files
60d442abeaSmattfile	arch/powerpc/booke/booke_machdep.c		ppc_booke
61b8ea2c8cSmattfile	arch/powerpc/booke/booke_cache.c		ppc_booke
62b8ea2c8cSmattfile	arch/powerpc/booke/booke_pmap.c			ppc_booke
63b8ea2c8cSmattfile	arch/powerpc/booke/booke_stubs.c		ppc_booke
64b8ea2c8cSmattfile	arch/powerpc/booke/copyin.c			ppc_booke
65b8ea2c8cSmattfile	arch/powerpc/booke/copyout.c			ppc_booke
66b8ea2c8cSmattfile	arch/powerpc/booke/kcopy.c			ppc_booke
67b8ea2c8cSmattfile	arch/powerpc/booke/spe.c			ppc_booke
68d442abeaSmattfile	arch/powerpc/booke/trap.c			ppc_booke
696040f5caSmatt
706040f5caSmatt# MPC8xx (Power QUICC 1) Family files
716040f5caSmattfile	arch/powerpc/mpc8xx/mpc8xx_machdep.c		ppc_mpc8xx
726040f5caSmattfile	arch/powerpc/mpc8xx/mpc8xx_cache.c		ppc_mpc8xx
736040f5caSmattfile	arch/powerpc/mpc8xx/mpc8xx_pmap.c		ppc_mpc8xx
746040f5caSmattfile	arch/powerpc/mpc8xx/mpc8xx_stubs.c		ppc_mpc8xx
756040f5caSmattfile	arch/powerpc/mpc8xx/copyin.c			ppc_mpc8xx
766040f5caSmattfile	arch/powerpc/mpc8xx/copyout.c			ppc_mpc8xx
776040f5caSmattfile	arch/powerpc/mpc8xx/kcopy.c			ppc_mpc8xx
786040f5caSmattfile	arch/powerpc/mpc8xx/trap.c			ppc_mpc8xx
796040f5caSmatt
806040f5caSmatt# Common PMAP files
81e62c0b0fSchristosfile	uvm/pmap/pmap.c					ppc_booke
82e62c0b0fSchristosfile	uvm/pmap/pmap_segtab.c				ppc_booke
83e62c0b0fSchristosfile	uvm/pmap/pmap_tlb.c				ppc_booke
84813e9ffdSmatt#file	uvm/pmap/pmap_pv.c				ppc_booke
85d442abeaSmatt
86c7d391b2Sthorpej# Binary compatibility with previous NetBSD releases (COMPAT_XX)
87c7d391b2Sthorpejfile	arch/powerpc/powerpc/compat_13_machdep.c	compat_13
8885a5f306Smattfile	arch/powerpc/powerpc/compat_16_machdep.c	compat_16
89fe4e9108Smanu
9093df539fSmanuinclude "compat/freebsd/files.freebsd"
91530968e7Smanu
92e3e80aa5Smattinclude "compat/netbsd32/files.netbsd32"
93813e9ffdSmattfile	arch/powerpc/powerpc/netbsd32_sigcode.S		compat_16 & compat_netbsd32
94e3e80aa5Smatt
95fe4e9108Smanu# OSS audio driver compatibility
96fe4e9108Smanuinclude "compat/ossaudio/files.ossaudio"
97fe4e9108Smanu
98fe4e9108Smanu# Linux binary compatibility (COMPAT_LINUX)
99fe4e9108Smanuinclude "compat/linux/files.linux"
100fe4e9108Smanuinclude "compat/linux/arch/powerpc/files.linux_powerpc"
101fe4e9108Smanufile arch/powerpc/powerpc/linux_sigcode.S		compat_linux
102fe4e9108Smanufile arch/powerpc/powerpc/linux_trap.c			compat_linux
103a3da5247Smanufile arch/powerpc/powerpc/linux_syscall.c		compat_linux
1045345f80eSalnsn
1055345f80eSalnsn# Stack-less Just-In-Time compiler
1065345f80eSalnsninclude	"external/bsd/sljit/conf/files.sljit"
107