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 Mark all SYSCTL_NODEs static that have no corresponding SYSCTL_DECLs. 2011-11-07 15:43:11 +00:00
include Eliminate an unused #define. 2013-02-22 16:59:52 +00:00
mambo kern cons: introduce infrastructure for console grabbing by kernel 2011-12-17 15:08:43 +00:00
mpc85xx Align the PCI Express #defines with the style used for the PCI-X 2012-09-18 22:04:59 +00:00
ofw Remove leftover from r215163. 2012-09-21 21:27:57 +00:00
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 Fix the interrupt code, broken 7 months ago. The interrupt framework 2011-01-29 20:58:38 +00:00
wii MFcalloutng: 2013-02-28 10:46:54 +00:00