Date: Sun, 4 Jan 2015 01:45:27 +0000 (UTC) From: Justin Hibbits <jhibbits@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r276652 - head/sys/powerpc/include Message-ID: <201501040145.t041jR6v002901@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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_ */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501040145.t041jR6v002901>