summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/aim
diff options
context:
space:
mode:
authorian <ian@FreeBSD.org>2014-05-14 00:51:26 +0000
committerian <ian@FreeBSD.org>2014-05-14 00:51:26 +0000
commit2963fd0dfbdafac049cadecf0774e0c027b28c88 (patch)
tree0a7f6d9dda09a9467d9629cbd1d020b502dc6dad /sys/powerpc/aim
parent065f33ceeaaf9a1809785180d2f3b30a66d52a40 (diff)
downloadFreeBSD-src-2963fd0dfbdafac049cadecf0774e0c027b28c88.zip
FreeBSD-src-2963fd0dfbdafac049cadecf0774e0c027b28c88.tar.gz
MFC r257161, r257169, r257178, r257190, r257191
Add pmap_mapdev_attr() and pmap_kenter_attr() interfaces. Fix concurrency issues with TLB1 updates and make pmap_kextract() search TLB1 mappings as well Interrelated improvements to early boot mappings: - Remove explicit requirement that the SOC registers be found except as an optimization (although the MPC85XX LAW drivers still require they be found externally, which should change). - Remove magic CCSRBAR_VA value. - Allow bus_machdep.c's early-boot code to handle non 1:1 mappings and systems not in real-mode or global 1:1 maps in early boot. - Allow pmap_mapdev() on Book-E to reissue previous addresses if the area is already mapped. Additionally have it check all mappings, not just the CCSR area. Add some extra sanity checking and checks to printf format specifiers. Bump initial TLB size. The kernel is not necessarily less than 16 MB Handle (in a slightly ugly way) ePAPR-type loaders that just place a device tree into r3.
Diffstat (limited to 'sys/powerpc/aim')
-rw-r--r--sys/powerpc/aim/machdep.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/powerpc/aim/machdep.c b/sys/powerpc/aim/machdep.c
index 6cf3b24..72f9de7 100644
--- a/sys/powerpc/aim/machdep.c
+++ b/sys/powerpc/aim/machdep.c
@@ -777,6 +777,13 @@ va_to_vsid(pmap_t pm, vm_offset_t va)
#endif
+vm_offset_t
+pmap_early_io_map(vm_paddr_t pa, vm_size_t size)
+{
+
+ return (pa);
+}
+
/* From p3-53 of the MPC7450 RISC Microprocessor Family Reference Manual */
void
flush_disable_caches(void)
@@ -944,4 +951,4 @@ cpu_sleep()
if (vectd == curthread)
enable_vec(curthread);
powerpc_sync();
-}
+} \ No newline at end of file
OpenPOWER on IntegriCloud