freebsd-dev/sys/arm
Konstantin Belousov e8a4a618cf Add pmap function pmap_copy_pages(), which copies the content of the
pages around, taking array of vm_page_t both for source and
destination.  Starting offsets and total transfer size are specified.

The function implements optimal algorithm for copying using the
platform-specific optimizations.  For instance, on the architectures
were the direct map is available, no transient mappings are created,
for i386 the per-cpu ephemeral page frame is used.  The code was
typically borrowed from the pmap_copy_page() for the same
architecture.

Only i386/amd64, powerpc aim and arm/arm-v6 implementations were
tested at the time of commit. High-level code, not committed yet to
the tree, ensures that the use of the function is only allowed after
explicit enablement.

For sparc64, the existing code has known issues and a stab is added
instead, to allow the kernel linking.

Sponsored by:	The FreeBSD Foundation
Tested by:	pho (i386, amd64), scottl (amd64), ian (arm and arm-v6)
MFC after:	2 weeks
2013-03-14 20:18:12 +00:00
..
allwinner Enable uart driver for A10. 2013-03-01 01:47:11 +00:00
arm Add pmap function pmap_copy_pages(), which copies the content of the 2013-03-14 20:18:12 +00:00
at91 Functions m_getm2() and m_get2() have different order of arguments, 2013-03-12 13:42:47 +00:00
broadcom/bcm2835 - Reset DMA channel if error occured 2013-03-05 20:00:11 +00:00
compile
conf Build the Raspberry Pi dtb file when building the kernel so we can copy it 2013-03-02 03:23:14 +00:00
econa Eliminate a redundant #include: machine/pmap.h is already included 2013-03-01 19:02:41 +00:00
include Add pmap function pmap_copy_pages(), which copies the content of the 2013-03-14 20:18:12 +00:00
lpc MFcalloutng: 2013-02-28 13:46:03 +00:00
mv MFcalloutng: 2013-02-28 13:46:03 +00:00
s3c2xx0 Eliminate a redundant #include: machine/pmap.h is already included 2013-03-01 19:02:41 +00:00
sa11x0 Eliminate a redundant #include: machine/pmap.h is already included 2013-02-26 07:41:34 +00:00
tegra Merge the FDT versions of initarm. 2012-11-03 22:39:07 +00:00
ti MFcalloutng: 2013-02-28 13:46:03 +00:00
versatile MFcalloutng: 2013-02-28 13:46:03 +00:00
xscale Eliminate a redundant #include: machine/pmap.h is already included 2013-03-01 19:02:41 +00:00