- 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:
jeff 2005-08-03 04:21:51 +00:00
parent 50b149d376
commit bbf3c9f815

View File

@ -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;