diff options
author | jhibbits <jhibbits@FreeBSD.org> | 2015-01-04 01:45:26 +0000 |
---|---|---|
committer | jhibbits <jhibbits@FreeBSD.org> | 2015-01-04 01:45:26 +0000 |
commit | e5abd97f65871ce2a6c15322c4201130ba69abb8 (patch) | |
tree | e39da1aa0417b4e9ba6f77b4f9c7fa4ab6ba8836 /sys/powerpc | |
parent | 6947e68c2d0b3f89be0bdf9b0ef84502bf18027d (diff) | |
download | FreeBSD-src-e5abd97f65871ce2a6c15322c4201130ba69abb8.zip FreeBSD-src-e5abd97f65871ce2a6c15322c4201130ba69abb8.tar.gz |
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
Diffstat (limited to 'sys/powerpc')
-rw-r--r-- | sys/powerpc/include/db_machdep.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/powerpc/include/db_machdep.h b/sys/powerpc/include/db_machdep.h index 367ff52..6d6638a 100644 --- a/sys/powerpc/include/db_machdep.h +++ b/sys/powerpc/include/db_machdep.h @@ -87,7 +87,7 @@ typedef intptr_t db_expr_t; /* expression - signed */ #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_ */ |