freebsd-skq/sys/arm/arm
ian b41cdbed24 Call initarm_lastaddr() later in the init sequence, after establishing
static device mappings, rather than as the first of the initializations
that a platform can hook into.  This allows a platform to allocate KVA
from the top of the address space downwards for things like static device
mapping, and return the final "last usable address" result after that and
other early init work is done.

Because some platforms were doing work in initarm_lastaddr() that needs to
be done early, add a new initarm_early_init() routine and move the early
init code to that routine on those platforms.

Rename platform_devmap_init() to initarm_devmap_init() to match all the
other init routines called from initarm() that are designed to be
implemented by platform code.

Add a comment block that explains when these routines are called and the
type of work expected to be done in each of them.
2013-11-05 02:57:34 +00:00
..
autoconf.c
bcopy_page.S Add an END macro to ARM. This is mostly used to tell gas where the bounds 2013-03-16 02:48:49 +00:00
bcopyinout_xscale.S Add an END macro to ARM. This is mostly used to tell gas where the bounds 2013-03-16 02:48:49 +00:00
bcopyinout.S Add an END macro to ARM. This is mostly used to tell gas where the bounds 2013-03-16 02:48:49 +00:00
blockio.S Add an END macro to ARM. This is mostly used to tell gas where the bounds 2013-03-16 02:48:49 +00:00
bootconfig.c Final whitespace trim. 2012-06-13 04:59:55 +00:00
bus_space_asm_generic.S Add an END macro to ARM. This is mostly used to tell gas where the bounds 2013-03-16 02:48:49 +00:00
bus_space_generic.c Begin reducing code duplication in arm pmap.c and pmap-v6.c by factoring 2013-11-04 19:44:37 +00:00
busdma_machdep-v6.c Add bus_dmamap_load_ma() function to load map with the array of 2013-10-27 21:39:16 +00:00
busdma_machdep.c Add bus_dmamap_load_ma() function to load map with the array of 2013-10-27 21:39:16 +00:00
copystr.S Add an END macro to ARM. This is mostly used to tell gas where the bounds 2013-03-16 02:48:49 +00:00
cpufunc_asm_arm7tdmi.S Add an END macro to ARM. This is mostly used to tell gas where the bounds 2013-03-16 02:48:49 +00:00
cpufunc_asm_arm8.S Add an END macro to ARM. This is mostly used to tell gas where the bounds 2013-03-16 02:48:49 +00:00
cpufunc_asm_arm9.S Add an END macro to ARM. This is mostly used to tell gas where the bounds 2013-03-16 02:48:49 +00:00
cpufunc_asm_arm10.S Add an END macro to ARM. This is mostly used to tell gas where the bounds 2013-03-16 02:48:49 +00:00
cpufunc_asm_arm11.S Add an END macro to ARM. This is mostly used to tell gas where the bounds 2013-03-16 02:48:49 +00:00
cpufunc_asm_arm11x6.S Add an END macro to ARM. This is mostly used to tell gas where the bounds 2013-03-16 02:48:49 +00:00
cpufunc_asm_armv4.S Add an END macro to ARM. This is mostly used to tell gas where the bounds 2013-03-16 02:48:49 +00:00
cpufunc_asm_armv5_ec.S Add an END macro to ARM. This is mostly used to tell gas where the bounds 2013-03-16 02:48:49 +00:00
cpufunc_asm_armv5.S Add an END macro to ARM. This is mostly used to tell gas where the bounds 2013-03-16 02:48:49 +00:00
cpufunc_asm_armv6.S Add an END macro to ARM. This is mostly used to tell gas where the bounds 2013-03-16 02:48:49 +00:00
cpufunc_asm_armv7.S - Switch to use WBWA mappings for page tables on armv6, this is needed for SMP. 2013-10-17 21:06:19 +00:00
cpufunc_asm_fa526.S Add an END macro to ARM. This is mostly used to tell gas where the bounds 2013-03-16 02:48:49 +00:00
cpufunc_asm_ixp12x0.S Add an END macro to ARM. This is mostly used to tell gas where the bounds 2013-03-16 02:48:49 +00:00
cpufunc_asm_pj4b.S Remove not working and deprecated PJ4Bv6 support 2013-10-28 21:39:54 +00:00
cpufunc_asm_sa1.S Add an END macro to ARM. This is mostly used to tell gas where the bounds 2013-03-16 02:48:49 +00:00
cpufunc_asm_sa11x0.S Add an END macro to ARM. This is mostly used to tell gas where the bounds 2013-03-16 02:48:49 +00:00
cpufunc_asm_sheeva.S Fix L2 cache write-back invalidate for Sheeva core. 2013-05-16 09:43:04 +00:00
cpufunc_asm_xscale_c3.S Add an END macro to ARM. This is mostly used to tell gas where the bounds 2013-03-16 02:48:49 +00:00
cpufunc_asm_xscale.S Add an END macro to ARM. This is mostly used to tell gas where the bounds 2013-03-16 02:48:49 +00:00
cpufunc_asm.S Add an END macro to ARM. This is mostly used to tell gas where the bounds 2013-03-16 02:48:49 +00:00
cpufunc.c Remove not working and deprecated PJ4Bv6 support 2013-10-28 21:39:54 +00:00
db_disasm.c Final whitespace trim. 2012-06-13 04:59:55 +00:00
db_interface.c Final whitespace trim. 2012-06-13 04:59:55 +00:00
db_trace.c Indent the "scp=... rlv=..." to make it easier to read the backtrace. 2013-07-13 00:39:07 +00:00
devmap.c Move remaining code and data related to static device mapping into the 2013-11-04 22:45:26 +00:00
disassem.c __FreeBSD_ARCH_armv6__ is undefined on clang. We can use __ARM_ARCH in 2013-03-09 23:55:23 +00:00
dump_machdep.c Final whitespace trim. 2012-06-13 04:59:55 +00:00
elf_machdep.c
elf_trampoline.c Another warning. 2013-07-07 21:20:52 +00:00
exception.S We no longer need to align the stack before calling swi_handler as it is 2013-08-06 10:03:44 +00:00
fiq_subr.S Add an END macro to ARM. This is mostly used to tell gas where the bounds 2013-03-16 02:48:49 +00:00
fiq.c
fusu.S KERNBASE is unsigned, so we'd better use hs instead of ge. 2013-10-18 17:21:47 +00:00
gdb_machdep.c Final whitespace trim. 2012-06-13 04:59:55 +00:00
genassym.c Remove #include <machine/frame.h> from all the arm code that doesn't 2013-10-27 01:34:10 +00:00
generic_timer.c Remove #include <machine/frame.h> from all the arm code that doesn't 2013-10-27 01:34:10 +00:00
gic.c Do not EOI an interrupt until the point after the filter handlers / before 2013-10-31 03:23:25 +00:00
identcpu.c Remove not working and deprecated PJ4Bv6 support 2013-10-28 21:39:54 +00:00
in_cksum_arm.S Add an END macro to ARM. This is mostly used to tell gas where the bounds 2013-03-16 02:48:49 +00:00
in_cksum.c Final whitespace trim. 2012-06-13 04:59:55 +00:00
inckern.S
intr.c Restore the irq number to the display string; I fumbled this in the previous 2013-01-27 20:16:50 +00:00
irq_dispatch.S Add the unwind information to irq_entry so we can pass through it when 2013-08-25 11:21:03 +00:00
locore.S Remove hard-coded mappings related to Armada XP support 2013-10-28 21:31:12 +00:00
machdep.c Call initarm_lastaddr() later in the init sequence, after establishing 2013-11-05 02:57:34 +00:00
mem.c Final whitespace trim. 2012-06-13 04:59:55 +00:00
minidump_machdep.c Remove all #include <machine/pmap.h> from arm code. It's already 2013-10-27 00:51:46 +00:00
mp_machdep.c Remove hard-coded mappings related to Armada XP support 2013-10-28 21:31:12 +00:00
mpcore_timer.c Remove #include <machine/frame.h> from all the arm code that doesn't 2013-10-27 01:34:10 +00:00
nexus.c Remove all #include <machine/pmap.h> from arm code. It's already 2013-10-27 00:51:46 +00:00
pl190.c Add driver for PrimeCell Vectored Interrupt Controller (PL190) 2012-12-13 23:03:37 +00:00
pl310.c Invalidate the entire L2 cache before enabling it. Say whether it 2013-10-16 19:06:44 +00:00
pmap-v6.c Begin reducing code duplication in arm pmap.c and pmap-v6.c by factoring 2013-11-04 19:44:37 +00:00
pmap.c Begin reducing code duplication in arm pmap.c and pmap-v6.c by factoring 2013-11-04 19:44:37 +00:00
sc_machdep.c Piggyback MIPS changes and add ARM syscons support for devices with 2012-08-25 23:59:31 +00:00
setcpsr.S Add an END macro to ARM. This is mostly used to tell gas where the bounds 2013-03-16 02:48:49 +00:00
setstack.s
stack_machdep.c Try to make sure the frame is indeed in the kernel memory. 2013-10-22 21:47:34 +00:00
stdatomic.c Fix GCC build for all ARMs. Revert bug introduced in r255613. 2013-09-20 20:44:32 +00:00
support.S Add an END macro to ARM. This is mostly used to tell gas where the bounds 2013-03-16 02:48:49 +00:00
swtch.S Add the frame information to cpu_switch to allow us to unwind out of it, 2013-08-25 11:23:38 +00:00
sys_machdep.c Fix panic in ktrcapfail() when no capability rights are passed. 2013-09-18 19:26:08 +00:00
trap.c Remove the last dregs of trapframe_t. It turns out only arm was using 2013-10-27 17:09:23 +00:00
uio_machdep.c
undefined.c Remove the last dregs of trapframe_t. It turns out only arm was using 2013-10-27 17:09:23 +00:00
vectors.S Final whitespace trim. 2012-06-13 04:59:55 +00:00
vfp.c Remove #include <machine/frame.h> from all the arm code that doesn't 2013-10-27 01:34:10 +00:00
vm_machdep.c Remove the last dregs of trapframe_t. It turns out only arm was using 2013-10-27 17:09:23 +00:00