Subject: progress with today's -current: problems with -DKERNEL, pmax/conf.c
To: None <mellon@vix.com>
From: Jonathan Stone <jonathan@DSG.Stanford.EDU>
List: port-pmax
Date: 04/11/1995 18:22:08
My config template doesn't add -DKERNEL to CFLAGS anymore, so I needed
the (trivial) patch below.
I also can't get conf.c to compile; it doesn't find either MAXDEV or
declarations of mmopen, mmclose, mmmap. Would re-builting
usr/sbin/config and re-running config fix that, or is something else
amiss? Or perhaps I should just wait a day or two?
*** pmap.h.DIST Tue Apr 11 03:05:43 1995
--- pmap.h Tue Apr 11 17:54:00 1995
***************
*** 94,100 ****
#define PMAP_ATTR_MOD 0x01 /* page has been modified */
#define PMAP_ATTR_REF 0x02 /* page has been referenced */
! #ifdef KERNEL
char *pmap_attributes; /* reference and modify bits */
struct pmap kernel_pmap_store;
--- 94,100 ----
#define PMAP_ATTR_MOD 0x01 /* page has been modified */
#define PMAP_ATTR_REF 0x02 /* page has been referenced */
! #ifdef _KERNEL
char *pmap_attributes; /* reference and modify bits */
struct pmap kernel_pmap_store;