freebsd-nq/sys/powerpc
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
..
aim Add pmap function pmap_copy_pages(), which copies the content of the 2013-03-14 20:18:12 +00:00
booke Add pmap function pmap_copy_pages(), which copies the content of the 2013-03-14 20:18:12 +00:00
compile
conf Enable the UFS quotas for big-iron GENERIC kernels. 2013-01-03 19:03:41 +00:00
cpufreq
fpu
include Eliminate an unused #define. 2013-02-22 16:59:52 +00:00
mambo
mpc85xx
ofw
powermac Introduce PLATFORMMETHOD_END and use it. 2013-02-13 02:21:45 +00:00
powerpc Add pmap function pmap_copy_pages(), which copies the content of the 2013-03-14 20:18:12 +00:00
ps3 MFcalloutng: 2013-02-28 10:46:54 +00:00
psim
wii MFcalloutng: 2013-02-28 10:46:54 +00:00