svn commit: r276652 - head/sys/powerpc/include
Justin Hibbits
jhibbits at FreeBSD.org
Sun Jan 4 01:45:27 UTC 2015
Author: jhibbits
Date: Sun Jan 4 01:45:26 2015
New Revision: 276652
URL: https://svnweb.freebsd.org/changeset/base/276652
Log:
Truncate DB_SMALL_VALUE_MAX to a much lower value.
Unlike the other architectures, the PowerPC kernel is loaded under the 2GB
boundary.
MFC after: 2 weeks
Modified:
head/sys/powerpc/include/db_machdep.h
Modified: head/sys/powerpc/include/db_machdep.h
==============================================================================
--- head/sys/powerpc/include/db_machdep.h Sun Jan 4 00:58:30 2015 (r276651)
+++ head/sys/powerpc/include/db_machdep.h Sun Jan 4 01:45:26 2015 (r276652)
@@ -87,7 +87,7 @@ typedef intptr_t db_expr_t; /* expressio
#define inst_load(ins) 0
#define inst_store(ins) 0
-#define DB_SMALL_VALUE_MAX (0x7fffffff)
+#define DB_SMALL_VALUE_MAX (KERNBASE-1)
#define DB_SMALL_VALUE_MIN (-0x40001)
#endif /* _POWERPC_DB_MACHDEP_H_ */
More information about the svn-src-head
mailing list