1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00
freebsd/sys/arm
Ian Lepore dc15bc80b7 Rename locore.S to locore-v4.S and add a new locore-v6.S for starting up
armv6/7 systems.  We need to use some new armv6/7 features at startup
and splitting the implemenations to separate files will be more maintainable
than adding even more #ifdef sections to locore.S.

Because of the standardized interfaces to cache and MMU operations in armv7,
we can tolerate the kernel being entered with caches enabled.  This allows
running u-boot and loader(8) with caches enabled, and the performance
improvement can be dramatic (boot times can be cut from over a minute
to under 30 seconds).  The new implementation also has more robust cache
and mmu sequences for launching AP cores, and it paves the way for
upcoming changes to the pmap code which will use the TEX remap feature.

Changes in mp_machdep.c work with the new behavior in locore-v6 mp_entry,
and also reuse the original boot-time page tables to get transitioned
from physical to virtual addressing before installing the normal tables.

Submitted by Svatopluk Kraus and Michal Meloun with some changes by me.
2014-12-30 03:17:53 +00:00
..
allwinner Add -march=armv7a to the kernel compile for all ARM systems which are v7a. 2014-12-21 23:48:32 +00:00
altera/socfpga Add -march=armv7a to the kernel compile for all ARM systems which are v7a. 2014-12-21 23:48:32 +00:00
arm Rename locore.S to locore-v4.S and add a new locore-v6.S for starting up 2014-12-30 03:17:53 +00:00
at91 Eliminate a redundant declaration. 2014-12-21 21:23:53 +00:00
broadcom/bcm2835 Convert the BSC (i2c) driver to use the new iicbus_get_frequency(). 2014-12-27 18:54:39 +00:00
cavium/cns11xx Mechanically convert to if_inc_counter(). 2014-09-19 09:20:16 +00:00
conf Switch i.MX to use the platform code to help with a single Freescale kernel. 2014-12-24 12:26:43 +00:00
freescale Switch i.MX to use the platform code to help with a single Freescale kernel. 2014-12-24 12:26:43 +00:00
include Fix a "decl is not a prototype" error noticed by gcc (but not clang). 2014-12-28 19:05:32 +00:00
lpc Reduce the diff between the lpc interrupt controller in head and arm_intrng 2014-12-21 16:59:41 +00:00
mv Rename pic_ipi_get to pic_ipi_read for intrng. 2014-12-24 15:25:18 +00:00
rockchip Add -march=armv7a to the kernel compile for all ARM systems which are v7a. 2014-12-21 23:48:32 +00:00
samsung Add -march=armv7a to the kernel compile for all ARM systems which are v7a. 2014-12-21 23:48:32 +00:00
ti Remove unnecessary code and, instead, use the provided iicbus_null_callback 2014-12-27 20:06:16 +00:00
versatile opt_global.h is included automatically in the build. No need to 2014-11-18 17:06:56 +00:00
xilinx Add -march=armv7a to the kernel compile for all ARM systems which are v7a. 2014-12-21 23:48:32 +00:00
xscale Add missing END macros to some of the xscale functions. 2014-12-05 19:04:08 +00:00