mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-18 22:33:39 +00:00
- Improve the definition of INKERNEL() to include the DMAP area and the
proper start of the kernel area. Discussed with: peter
This commit is contained in:
parent
722d16b7fc
commit
bb2fd058ce
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=148664
|
@ -178,7 +178,8 @@ db_ss(struct db_variable *vp, db_expr_t *valuep, int op)
|
|||
/*
|
||||
* Stack trace.
|
||||
*/
|
||||
#define INKERNEL(va) (((vm_offset_t)(va)) >= USRSTACK)
|
||||
#define INKERNEL(va) (((va) >= DMAP_MIN_ADDRESS && (va) < DMAP_MAX_ADDRESS) \
|
||||
|| (va) >= KERNBASE)
|
||||
|
||||
struct amd64_frame {
|
||||
struct amd64_frame *f_frame;
|
||||
|
|
Loading…
Reference in a new issue