add NPTEPG back in. gdb wants it. Thanks to Rich Murphey for pointing it out.
This commit is contained in:
parent
fb97fd8ad0
commit
fd9de878ef
|
@ -34,7 +34,7 @@
|
|||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)param.h 5.8 (Berkeley) 6/28/91
|
||||
* $Id: param.h,v 1.11 1993/12/20 05:25:32 mycroft Exp $
|
||||
* $Id: param.h,v 1.12 1993/12/22 17:39:45 cgd Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
|
@ -56,6 +56,7 @@
|
|||
#define PGSHIFT 12 /* LOG2(NBPG) */
|
||||
#define NBPG (1 << PGSHIFT) /* bytes/page */
|
||||
#define PGOFSET (NBPG-1) /* byte offset into page */
|
||||
#define NPTEPG (NBPG/(sizeof (struct pte)))
|
||||
|
||||
#define KERNBASE 0xfe000000 /* start of kernel virtual space */
|
||||
#define KERNSIZE 0x01800000 /* size of kernel virtual space */
|
||||
|
|
Loading…
Reference in New Issue