From 648acdf769b44ff7179711026ca046880a1f369a Mon Sep 17 00:00:00 2001 From: mycroft Date: Mon, 23 May 1994 08:42:50 +0000 Subject: [PATCH] Make the kernel text writable for DDB. --- sys/arch/hp300/hp300/pmap_bootstrap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arch/hp300/hp300/pmap_bootstrap.c b/sys/arch/hp300/hp300/pmap_bootstrap.c index ed8f400efbc7..bc7c063620cf 100644 --- a/sys/arch/hp300/hp300/pmap_bootstrap.c +++ b/sys/arch/hp300/hp300/pmap_bootstrap.c @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * from: @(#)pmap_bootstrap.c 8.1 (Berkeley) 6/10/93 - * $Id: pmap_bootstrap.c,v 1.1 1994/05/23 06:15:21 mycroft Exp $ + * $Id: pmap_bootstrap.c,v 1.2 1994/05/23 08:42:50 mycroft Exp $ */ #include @@ -295,7 +295,7 @@ pmap_bootstrap(nextpa, firstpa) */ pte = &((u_int *)kptpa)[hp300_btop(KERNBASE)]; epte = &pte[hp300_btop(hp300_trunc_page(&etext))]; -#ifdef KGDB +#if defined(KGDB) || defined(DDB) protopte = firstpa | PG_RW | PG_V; /* XXX RW for now */ #else protopte = firstpa | PG_RO | PG_V;