freebsd-dev/sys/arm
Ian Lepore b4df095c2e Add new helper routines for arm static device mapping. The new code
allocates kva space from the top down for the device mappings and builds
entries in an internal table which is automatically used later by
arm_devmap_bootstrap().  The platform code just calls the new
arm_devmap_add_entry() function as many times as it needs to (up to 32
entries allowed; most platforms use 2 or 3 at most).

There is also a new arm_devmap_lastaddr() function that returns the lowest
kva address allocated; this can be used to implement initarm_lastaddr()
which is used to initialize vm_max_kernel_address.

The new code is based on a similar concept developed for the imx family
SoCs recently.  They will soon be converted to use this new common code.
2013-11-05 04:30:55 +00:00
..
allwinner Call initarm_lastaddr() later in the init sequence, after establishing 2013-11-05 02:57:34 +00:00
arm Add new helper routines for arm static device mapping. The new code 2013-11-05 04:30:55 +00:00
at91 Move remaining code and data related to static device mapping into the 2013-11-04 22:45:26 +00:00
broadcom/bcm2835 Call initarm_lastaddr() later in the init sequence, after establishing 2013-11-05 02:57:34 +00:00
conf Properly quote the included filename, now that it has a dot in it. Doh. 2013-11-04 03:46:09 +00:00
econa Move remaining code and data related to static device mapping into the 2013-11-04 22:45:26 +00:00
freescale/imx Call initarm_lastaddr() later in the init sequence, after establishing 2013-11-05 02:57:34 +00:00
include Add new helper routines for arm static device mapping. The new code 2013-11-05 04:30:55 +00:00
lpc Call initarm_lastaddr() later in the init sequence, after establishing 2013-11-05 02:57:34 +00:00
mv Call initarm_lastaddr() later in the init sequence, after establishing 2013-11-05 02:57:34 +00:00
rockchip Call initarm_lastaddr() later in the init sequence, after establishing 2013-11-05 02:57:34 +00:00
s3c2xx0 Move remaining code and data related to static device mapping into the 2013-11-04 22:45:26 +00:00
sa11x0 Move remaining code and data related to static device mapping into the 2013-11-04 22:45:26 +00:00
samsung/exynos Call initarm_lastaddr() later in the init sequence, after establishing 2013-11-05 02:57:34 +00:00
tegra Call initarm_lastaddr() later in the init sequence, after establishing 2013-11-05 02:57:34 +00:00
ti Call initarm_lastaddr() later in the init sequence, after establishing 2013-11-05 02:57:34 +00:00
versatile Call initarm_lastaddr() later in the init sequence, after establishing 2013-11-05 02:57:34 +00:00
xilinx Call initarm_lastaddr() later in the init sequence, after establishing 2013-11-05 02:57:34 +00:00
xscale Move remaining code and data related to static device mapping into the 2013-11-04 22:45:26 +00:00