Index: locore.s =================================================================== RCS file: /home/ncvs/src/sys/i386/i386/locore.s,v retrieving revision 1.184 diff -u -r1.184 locore.s --- locore.s 8 Jul 2004 22:35:34 -0000 1.184 +++ locore.s 13 Oct 2004 04:35:05 -0000 @@ -789,7 +789,11 @@ /* Map read-only from page 1 to the beginning of the kernel text section */ movl $PAGE_SIZE, %eax +#if 0 xorl %edx,%edx +#else /* for dcons */ + movl $PG_RW,%edx +#endif movl $R(btext),%ecx addl $PAGE_MASK,%ecx subl %eax,%ecx Index: machdep.c =================================================================== RCS file: /home/ncvs/src/sys/i386/i386/machdep.c,v retrieving revision 1.598 diff -u -r1.598 machdep.c --- machdep.c 5 Sep 2004 02:09:52 -0000 1.598 +++ machdep.c 12 Oct 2004 14:43:08 -0000 @@ -1833,7 +1833,11 @@ /* * block out kernel memory as not available. */ +#if 0 if (pa >= KERNLOAD && pa < first) +#else /* preserve loader and dcons buffer */ + if (pa < first) +#endif continue; page_bad = FALSE;