mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-23 10:06:25 +01:00
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
This commit is contained in:
parent
bbb0fbde9a
commit
41ddc6ea3d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=276652
@ -87,7 +87,7 @@ typedef intptr_t db_expr_t; /* expression - signed */
|
|||||||
#define inst_load(ins) 0
|
#define inst_load(ins) 0
|
||||||
#define inst_store(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)
|
#define DB_SMALL_VALUE_MIN (-0x40001)
|
||||||
|
|
||||||
#endif /* _POWERPC_DB_MACHDEP_H_ */
|
#endif /* _POWERPC_DB_MACHDEP_H_ */
|
||||||
|
Loading…
Reference in New Issue
Block a user