summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/mpc85xx/mpc85xx.c
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/mpc85xx/mpc85xx.c
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/mpc85xx/mpc85xx.c')
-rw-r--r--sys/powerpc/mpc85xx/mpc85xx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/powerpc/mpc85xx/mpc85xx.c b/sys/powerpc/mpc85xx/mpc85xx.c
index 0db5d5e..e94a1d8 100644
--- a/sys/powerpc/mpc85xx/mpc85xx.c
+++ b/sys/powerpc/mpc85xx/mpc85xx.c
@@ -41,6 +41,8 @@ __FBSDID("$FreeBSD$");
#include <machine/pio.h>
#include <machine/spr.h>
+#include <dev/fdt/fdt_common.h>
+
#include <powerpc/mpc85xx/mpc85xx.h>
/*
OpenPOWER on IntegriCloud