freebsd-nq/sys/powerpc/booke
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
..
clock.c MFcalloutng: 2013-02-28 13:46:03 +00:00
copyinout.c Use the ABI-mandated thread pointer register (r2 for ppc32, r13 for ppc64) 2011-06-23 22:21:28 +00:00
interrupt.c Use the ABI-mandated thread pointer register (r2 for ppc32, r13 for ppc64) 2011-06-23 22:21:28 +00:00
locore.S 1. Have the APs initialize the TLB1 entries from what has been 2012-11-03 22:02:12 +00:00
machdep_e500.c Extract vendor specific Book-E pieces into separate files and have a common 2012-05-30 17:34:40 +00:00
machdep_ppc4xx.c Extract vendor specific Book-E pieces into separate files and have a common 2012-05-30 17:34:40 +00:00
machdep.c Switch the vm_object mutex to be a rwlock. This will enable in the 2013-03-09 02:32:23 +00:00
mp_cpudep.c
platform_bare.c Introduce PLATFORMMETHOD_END and use it. 2013-02-13 02:21:45 +00:00
pmap.c Add pmap function pmap_copy_pages(), which copies the content of the 2013-03-14 20:18:12 +00:00
swtch.S MFppc64: 2010-07-13 05:32:19 +00:00
trap_subr.S Fix a typo that resulted in or-ing PTE_UW twice whrn PTE_SW was needed. 2012-07-02 21:21:12 +00:00
trap.c userret() already checks for td_locks when INVARIANTS is enabled, so 2012-09-08 18:27:11 +00:00
vm_machdep.c For architectures not using direct map , and requiring real KVA page for 2011-01-18 21:57:02 +00:00