freebsd-dev/sys/mips
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
..
adm5120 Merge from vmobj-rwlock branch: 2013-02-26 01:00:11 +00:00
alchemy Merge from vmobj-rwlock branch: 2013-02-26 01:00:11 +00:00
atheros Mips Atheros AR71XX: make PCI base slot configurable through hints. 2013-01-06 20:50:31 +00:00
beri Merge from vmobj-rwlock branch: 2013-02-26 01:00:11 +00:00
cavium Merge from vmobj-rwlock branch: 2013-02-26 01:00:11 +00:00
compile
conf Add basic support for the Ubiquiti EdgeRouter Lite. 2013-01-02 23:17:50 +00:00
gxemul Merge from vmobj-rwlock branch: 2013-02-26 01:00:11 +00:00
idt Merge from vmobj-rwlock branch: 2013-02-26 01:00:11 +00:00
include Define VM_KMEM_SIZE_MAX as a fraction of the kernel address space size 2013-01-12 18:06:21 +00:00
malta Merge from vmobj-rwlock branch: 2013-02-26 01:00:11 +00:00
mips Add pmap function pmap_copy_pages(), which copies the content of the 2013-03-14 20:18:12 +00:00
nlm MFcalloutng: 2013-02-28 13:46:03 +00:00
rmi MFcalloutng: 2013-02-28 13:46:03 +00:00
rt305x Merge from vmobj-rwlock branch: 2013-02-26 01:00:11 +00:00
sentry5 Merge from vmobj-rwlock branch: 2013-02-26 01:00:11 +00:00
sibyte Merge from vmobj-rwlock branch: 2013-02-26 01:00:11 +00:00