2004-05-14 11:49:40 +00:00
|
|
|
# $FreeBSD$
|
2007-10-25 14:16:07 +00:00
|
|
|
arm/arm/autoconf.c standard
|
|
|
|
arm/arm/bcopy_page.S standard
|
2004-05-14 11:49:40 +00:00
|
|
|
arm/arm/bcopyinout.S standard
|
|
|
|
arm/arm/blockio.S standard
|
|
|
|
arm/arm/bus_space_asm_generic.S standard
|
2015-11-21 15:30:08 +00:00
|
|
|
arm/arm/bus_space_base.c optional fdt
|
|
|
|
arm/arm/bus_space_generic.c standard
|
2016-02-20 07:45:21 +00:00
|
|
|
arm/arm/busdma_machdep-v4.c optional !armv6
|
2014-11-24 00:02:15 +00:00
|
|
|
arm/arm/busdma_machdep-v6.c optional armv6
|
2004-05-14 11:49:40 +00:00
|
|
|
arm/arm/copystr.S standard
|
|
|
|
arm/arm/cpufunc.c standard
|
|
|
|
arm/arm/cpufunc_asm.S standard
|
2016-02-02 14:53:34 +00:00
|
|
|
arm/arm/cpufunc_asm_arm9.S optional cpu_arm9 | cpu_arm9e
|
2015-03-29 22:43:39 +00:00
|
|
|
arm/arm/cpufunc_asm_arm11.S optional cpu_arm1176
|
|
|
|
arm/arm/cpufunc_asm_arm11x6.S optional cpu_arm1176
|
2016-02-03 09:15:44 +00:00
|
|
|
arm/arm/cpufunc_asm_armv4.S optional cpu_arm9 | cpu_arm9e | cpu_fa526 | cpu_xscale_pxa2x0 | cpu_xscale_ixp425 | cpu_xscale_81342
|
2015-03-29 22:43:39 +00:00
|
|
|
arm/arm/cpufunc_asm_armv5_ec.S optional cpu_arm9e
|
|
|
|
arm/arm/cpufunc_asm_armv6.S optional cpu_arm1176
|
|
|
|
arm/arm/cpufunc_asm_armv7.S optional cpu_cortexa | cpu_krait | cpu_mv_pj4b
|
|
|
|
arm/arm/cpufunc_asm_fa526.S optional cpu_fa526
|
|
|
|
arm/arm/cpufunc_asm_pj4b.S optional cpu_mv_pj4b
|
|
|
|
arm/arm/cpufunc_asm_sheeva.S optional cpu_arm9e
|
2016-02-03 09:15:44 +00:00
|
|
|
arm/arm/cpufunc_asm_xscale.S optional cpu_xscale_pxa2x0 | cpu_xscale_ixp425 | cpu_xscale_81342
|
2015-03-29 22:43:39 +00:00
|
|
|
arm/arm/cpufunc_asm_xscale_c3.S optional cpu_xscale_81342
|
2014-12-28 18:12:56 +00:00
|
|
|
arm/arm/cpuinfo.c standard
|
2014-12-28 18:38:25 +00:00
|
|
|
arm/arm/cpu_asm-v6.S optional armv6
|
2004-05-14 11:49:40 +00:00
|
|
|
arm/arm/db_disasm.c optional ddb
|
|
|
|
arm/arm/db_interface.c optional ddb
|
|
|
|
arm/arm/db_trace.c optional ddb
|
2016-01-25 18:02:28 +00:00
|
|
|
arm/arm/debug_monitor.c optional ddb armv6
|
2013-11-04 20:00:21 +00:00
|
|
|
arm/arm/devmap.c standard
|
2005-10-04 14:37:53 +00:00
|
|
|
arm/arm/disassem.c optional ddb
|
2004-05-14 11:49:40 +00:00
|
|
|
arm/arm/dump_machdep.c standard
|
|
|
|
arm/arm/elf_machdep.c standard
|
2014-10-18 13:38:04 +00:00
|
|
|
arm/arm/elf_note.S standard
|
2004-05-14 11:49:40 +00:00
|
|
|
arm/arm/exception.S standard
|
|
|
|
arm/arm/fiq.c standard
|
|
|
|
arm/arm/fiq_subr.S standard
|
|
|
|
arm/arm/fusu.S standard
|
2006-07-14 00:50:51 +00:00
|
|
|
arm/arm/gdb_machdep.c optional gdb
|
2015-11-21 16:23:56 +00:00
|
|
|
arm/arm/generic_timer.c optional generic_timer
|
2015-05-10 09:33:03 +00:00
|
|
|
arm/arm/gic.c optional gic
|
2015-11-21 16:25:03 +00:00
|
|
|
arm/arm/hdmi_if.m optional hdmi
|
2004-05-14 11:49:40 +00:00
|
|
|
arm/arm/identcpu.c standard
|
2011-04-20 12:58:30 +00:00
|
|
|
arm/arm/in_cksum.c optional inet | inet6
|
|
|
|
arm/arm/in_cksum_arm.S optional inet | inet6
|
Import ARM_INTRNG, the "next generation" interrupt architecture for arm
and armv6 architecures. The primary enhancement over the old design is
support for hierarchical interrupt controllers (such as a gpio driver
which can receive interrupts from a root PIC and act as a PIC itself for
clients interested in handling a change of gpio pin state as an
interrupt). The new code also provides an infrastructure for mapping
interrupts described in metadata in the form of a "controller reference
plus interrupt number" tuple into the simple "0-n" flat numeric space
understood by rman and the bus resource mechanisms.
Use of the new code is enabled by setting the ARM_INTRNG option, and by
making a few simple changes to the platform's support code. In addition
each existing PIC driver needs changes to be ready for INTRNG; this commit
contains the changes for the arm/gic driver, which most armv6 SoCs use, but
it does not enable the new code yet on any platform.
This project has been many years in the making, starting as a GSoC project
by Jakub Klama (jceel@) in 2012. That didn't get committed right away and
the source base evolved out from under it to some degree. In 2014 I rebased
the diffs to then -current and did some enhancements in the area of mapping
interrupt numbers and storing associated fdt data, then the project went
cold again for a while. Eventually Svata Kraus took that work in progress
and did another big round of work on it, removing most of the remaining
rough edges. Finally I took that and made one more pass through it, mostly
disabling the "INTR_SOLO" feature for now, pending further design
discussions on how to most efficiently dispatch a pending interrupt through
more than one layer of PIC. The current code with the INTR_SOLO feature
disabled uses approximate 100 extra cpu cycles for each cascaded PIC the
interrupt has to be passed to, so what's left to do is about efficiency, not
correct operation.
Differential Revision: https://reviews.freebsd.org/D2047
2015-10-18 18:26:19 +00:00
|
|
|
arm/arm/intr.c optional !arm_intrng
|
2015-12-18 05:43:59 +00:00
|
|
|
kern/subr_intr.c optional arm_intrng
|
2004-05-14 11:49:40 +00:00
|
|
|
arm/arm/locore.S standard no-obj
|
|
|
|
arm/arm/machdep.c standard
|
2015-12-18 05:43:59 +00:00
|
|
|
arm/arm/machdep_intr.c standard
|
2004-11-22 22:20:50 +00:00
|
|
|
arm/arm/mem.c optional mem
|
2008-11-06 16:20:27 +00:00
|
|
|
arm/arm/minidump_machdep.c optional mem
|
2012-08-15 03:03:03 +00:00
|
|
|
arm/arm/mp_machdep.c optional smp
|
2015-11-21 16:23:56 +00:00
|
|
|
arm/arm/mpcore_timer.c optional mpcore_timer
|
2007-12-02 13:10:42 +00:00
|
|
|
arm/arm/nexus.c standard
|
2015-12-21 18:07:32 +00:00
|
|
|
arm/arm/ofw_machdep.c optional fdt
|
2014-02-08 23:54:16 +00:00
|
|
|
arm/arm/physmem.c standard
|
2015-12-18 05:43:59 +00:00
|
|
|
kern/pic_if.m optional arm_intrng
|
2012-12-13 23:03:37 +00:00
|
|
|
arm/arm/pl190.c optional pl190
|
2012-08-15 03:03:03 +00:00
|
|
|
arm/arm/pl310.c optional pl310
|
2014-05-17 11:27:36 +00:00
|
|
|
arm/arm/platform.c optional platform
|
|
|
|
arm/arm/platform_if.m optional platform
|
2016-02-20 07:45:21 +00:00
|
|
|
arm/arm/pmap-v4.c optional !armv6
|
2016-01-29 11:00:33 +00:00
|
|
|
arm/arm/pmap-v6.c optional armv6
|
2015-10-15 01:51:10 +00:00
|
|
|
arm/arm/pmu.c optional pmu | fdt hwpmc
|
2012-08-25 23:59:31 +00:00
|
|
|
arm/arm/sc_machdep.c optional sc
|
2004-05-14 11:49:40 +00:00
|
|
|
arm/arm/setcpsr.S standard
|
|
|
|
arm/arm/setstack.s standard
|
Break out stack(9) from ddb(4):
- Introduce per-architecture stack_machdep.c to hold stack_save(9).
- Introduce per-architecture machine/stack.h to capture any common
definitions required between db_trace.c and stack_machdep.c.
- Add new kernel option "options STACK"; we will build in stack(9) if it is
defined, or also if "options DDB" is defined to provide compatibility
with existing users of stack(9).
Add new stack_save_td(9) function, which allows the capture of a stacktrace
of another thread rather than the current thread, which the existing
stack_save(9) was limited to. It requires that the thread be neither
swapped out nor running, which is the responsibility of the consumer to
enforce.
Update stack(9) man page.
Build tested: amd64, arm, i386, ia64, powerpc, sparc64, sun4v
Runtime tested: amd64 (rwatson), arm (cognet), i386 (rwatson)
2007-12-02 20:40:35 +00:00
|
|
|
arm/arm/stack_machdep.c optional ddb | stack
|
2013-06-13 18:46:49 +00:00
|
|
|
arm/arm/stdatomic.c standard \
|
|
|
|
compile-with "${NORMAL_C:N-Wmissing-prototypes}"
|
2004-05-14 11:49:40 +00:00
|
|
|
arm/arm/support.S standard
|
|
|
|
arm/arm/swtch.S standard
|
2016-01-30 08:02:12 +00:00
|
|
|
arm/arm/swtch-v4.S optional !armv6
|
|
|
|
arm/arm/swtch-v6.S optional armv6
|
2004-05-14 11:49:40 +00:00
|
|
|
arm/arm/sys_machdep.c standard
|
2014-10-01 12:44:16 +00:00
|
|
|
arm/arm/syscall.c standard
|
2016-02-20 07:45:21 +00:00
|
|
|
arm/arm/trap-v4.c optional !armv6
|
2015-01-03 22:33:18 +00:00
|
|
|
arm/arm/trap-v6.c optional armv6
|
2004-05-14 11:49:40 +00:00
|
|
|
arm/arm/uio_machdep.c standard
|
|
|
|
arm/arm/undefined.c standard
|
2015-02-19 12:20:21 +00:00
|
|
|
arm/arm/unwind.c optional ddb | kdtrace_hooks
|
2004-05-14 11:49:40 +00:00
|
|
|
arm/arm/vm_machdep.c standard
|
2013-08-17 18:51:38 +00:00
|
|
|
arm/arm/vfp.c standard
|
2012-10-25 05:22:25 +00:00
|
|
|
board_id.h standard \
|
|
|
|
dependency "$S/arm/conf/genboardid.awk $S/arm/conf/mach-types" \
|
|
|
|
compile-with "${AWK} -f $S/arm/conf/genboardid.awk $S/arm/conf/mach-types > board_id.h" \
|
|
|
|
no-obj no-implicit-rule before-depend \
|
|
|
|
clean "board_id.h"
|
2015-06-10 15:53:39 +00:00
|
|
|
cddl/compat/opensolaris/kern/opensolaris_atomic.c optional zfs | dtrace compile-with "${CDDL_C}"
|
|
|
|
cddl/dev/dtrace/arm/dtrace_asm.S optional dtrace compile-with "${DTRACE_S}"
|
|
|
|
cddl/dev/dtrace/arm/dtrace_subr.c optional dtrace compile-with "${DTRACE_C}"
|
|
|
|
cddl/dev/fbt/arm/fbt_isa.c optional dtrace_fbt | dtraceall compile-with "${FBT_C}"
|
2012-10-25 05:22:25 +00:00
|
|
|
crypto/blowfish/bf_enc.c optional crypto | ipsec
|
2013-06-28 21:00:08 +00:00
|
|
|
crypto/des/des_enc.c optional crypto | ipsec | netsmb
|
2015-09-20 14:13:29 +00:00
|
|
|
dev/dwc/if_dwc.c optional dwc
|
|
|
|
dev/dwc/if_dwc_if.m optional dwc
|
2012-08-25 23:59:31 +00:00
|
|
|
dev/fb/fb.c optional sc
|
2014-05-17 11:27:36 +00:00
|
|
|
dev/fdt/fdt_arm_platform.c optional platform fdt
|
2009-12-23 23:53:30 +00:00
|
|
|
dev/hwpmc/hwpmc_arm.c optional hwpmc
|
2015-03-28 18:57:13 +00:00
|
|
|
dev/hwpmc/hwpmc_armv7.c optional hwpmc armv6
|
2016-02-14 23:51:13 +00:00
|
|
|
dev/iicbus/twsi/twsi.c optional twsi
|
2016-02-28 09:35:37 +00:00
|
|
|
dev/ofw/ofw_cpu.c optional fdt
|
2015-04-12 13:00:58 +00:00
|
|
|
dev/psci/psci.c optional psci
|
|
|
|
dev/psci/psci_arm.S optional psci
|
2012-08-25 23:59:31 +00:00
|
|
|
dev/syscons/scgfbrndr.c optional sc
|
|
|
|
dev/syscons/scterm-teken.c optional sc
|
|
|
|
dev/syscons/scvtb.c optional sc
|
2013-05-21 03:05:49 +00:00
|
|
|
dev/uart/uart_cpu_fdt.c optional uart fdt
|
|
|
|
|
2012-10-25 05:22:25 +00:00
|
|
|
font.h optional sc \
|
|
|
|
compile-with "uudecode < /usr/share/syscons/fonts/${SC_DFLT_FONT}-8x16.fnt && file2c 'u_char dflt_font_16[16*256] = {' '};' < ${SC_DFLT_FONT}-8x16 > font.h && uudecode < /usr/share/syscons/fonts/${SC_DFLT_FONT}-8x14.fnt && file2c 'u_char dflt_font_14[14*256] = {' '};' < ${SC_DFLT_FONT}-8x14 >> font.h && uudecode < /usr/share/syscons/fonts/${SC_DFLT_FONT}-8x8.fnt && file2c 'u_char dflt_font_8[8*256] = {' '};' < ${SC_DFLT_FONT}-8x8 >> font.h" \
|
|
|
|
no-obj no-implicit-rule before-depend \
|
|
|
|
clean "font.h ${SC_DFLT_FONT}-8x14 ${SC_DFLT_FONT}-8x16 ${SC_DFLT_FONT}-8x8"
|
2012-12-20 00:57:24 +00:00
|
|
|
kern/subr_busdma_bufalloc.c standard
|
2014-08-05 09:44:10 +00:00
|
|
|
kern/subr_sfbuf.c standard
|
2013-03-16 04:06:49 +00:00
|
|
|
libkern/arm/aeabi_unwind.c standard
|
2004-05-14 11:49:40 +00:00
|
|
|
libkern/arm/divsi3.S standard
|
|
|
|
libkern/arm/ffs.S standard
|
2013-01-17 09:37:42 +00:00
|
|
|
libkern/arm/ldivmod.S standard
|
|
|
|
libkern/arm/ldivmod_helper.c standard
|
2015-07-09 20:54:38 +00:00
|
|
|
libkern/arm/memclr.S standard
|
2013-03-10 07:55:40 +00:00
|
|
|
libkern/arm/memcpy.S standard
|
2013-03-16 23:11:55 +00:00
|
|
|
libkern/arm/memset.S standard
|
2004-05-14 11:49:40 +00:00
|
|
|
libkern/arm/muldi3.c standard
|
|
|
|
libkern/ashldi3.c standard
|
|
|
|
libkern/ashrdi3.c standard
|
|
|
|
libkern/divdi3.c standard
|
|
|
|
libkern/ffsl.c standard
|
2015-10-22 20:28:37 +00:00
|
|
|
libkern/ffsll.c standard
|
2006-11-30 06:17:54 +00:00
|
|
|
libkern/fls.c standard
|
2004-05-14 11:49:40 +00:00
|
|
|
libkern/flsl.c standard
|
2014-02-14 15:18:37 +00:00
|
|
|
libkern/flsll.c standard
|
2004-05-14 11:49:40 +00:00
|
|
|
libkern/lshrdi3.c standard
|
|
|
|
libkern/moddi3.c standard
|
|
|
|
libkern/qdivrem.c standard
|
2011-10-26 19:07:36 +00:00
|
|
|
libkern/ucmpdi2.c standard
|
2004-05-14 11:49:40 +00:00
|
|
|
libkern/udivdi3.c standard
|
|
|
|
libkern/umoddi3.c standard
|