summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/include
diff options
context:
space:
mode:
authorjhibbits <jhibbits@FreeBSD.org>2015-11-18 02:18:14 +0000
committerjhibbits <jhibbits@FreeBSD.org>2015-11-18 02:18:14 +0000
commit9a275d9bdcdedd71f6cbebd81edd7943e3ca73dd (patch)
tree267cc7e82f64f5529e26c0b8cd0cef6c16173a9c /sys/powerpc/include
parent9010366275a68b9a396f1db709a170461a7aaf24 (diff)
downloadFreeBSD-src-9a275d9bdcdedd71f6cbebd81edd7943e3ca73dd.zip
FreeBSD-src-9a275d9bdcdedd71f6cbebd81edd7943e3ca73dd.tar.gz
Physical addresses for e500mc/e5500 are 36-bits, e6500 is 40-bits.
Increase BUS_SPACE_MAXADDR to allow for this. Sponsored by: Alex Perez/Inertial Computing
Diffstat (limited to 'sys/powerpc/include')
-rw-r--r--sys/powerpc/include/bus.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/powerpc/include/bus.h b/sys/powerpc/include/bus.h
index 658c4eb..0b47a63 100644
--- a/sys/powerpc/include/bus.h
+++ b/sys/powerpc/include/bus.h
@@ -79,9 +79,14 @@
#define BUS_SPACE_MAXADDR 0xFFFFFFFFFFFFFFFFUL
#define BUS_SPACE_MAXSIZE 0xFFFFFFFFFFFFFFFFUL
#else
+#ifdef BOOKE
+#define BUS_SPACE_MAXADDR 0xFFFFFFFFFFULL
+#define BUS_SPACE_MAXSIZE 0xFFFFFFFFUL
+#else
#define BUS_SPACE_MAXADDR 0xFFFFFFFFUL
#define BUS_SPACE_MAXSIZE 0xFFFFFFFFUL
#endif
+#endif
#define BUS_SPACE_MAP_CACHEABLE 0x01
#define BUS_SPACE_MAP_LINEAR 0x02
OpenPOWER on IntegriCloud