summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_glue.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1996-05-02 09:34:51 +0000
committerphk <phk@FreeBSD.org>1996-05-02 09:34:51 +0000
commit7bfc0101cb7b18e50bfb65137a0be725c51d26cb (patch)
treedc9ce6f01e6fe69eb3e4d0a274e9b8a8982294fc /sys/vm/vm_glue.c
parente4ee69bc24265771337795e724a2f50a50cbc78b (diff)
downloadFreeBSD-src-7bfc0101cb7b18e50bfb65137a0be725c51d26cb.zip
FreeBSD-src-7bfc0101cb7b18e50bfb65137a0be725c51d26cb.tar.gz
KGDB is dead. It may come back one day if somebody does it.
Diffstat (limited to 'sys/vm/vm_glue.c')
-rw-r--r--sys/vm/vm_glue.c18
1 files changed, 1 insertions, 17 deletions
diff --git a/sys/vm/vm_glue.c b/sys/vm/vm_glue.c
index 4bcb2cd..4e6db8c 100644
--- a/sys/vm/vm_glue.c
+++ b/sys/vm/vm_glue.c
@@ -59,7 +59,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id: vm_glue.c,v 1.46 1996/04/08 03:42:01 dyson Exp $
+ * $Id: vm_glue.c,v 1.47 1996/04/09 04:36:58 dyson Exp $
*/
#include "opt_ddb.h"
@@ -158,22 +158,6 @@ useracc(addr, len, rw)
return (rv == TRUE);
}
-#ifdef KGDB
-/*
- * Change protections on kernel pages from addr to addr+len
- * (presumably so debugger can plant a breakpoint).
- * All addresses are assumed to reside in the Sysmap,
- */
-chgkprot(addr, len, rw)
- register caddr_t addr;
- int len, rw;
-{
- vm_prot_t prot = rw == B_READ ? VM_PROT_READ : VM_PROT_WRITE;
-
- vm_map_protect(kernel_map, trunc_page(addr),
- round_page(addr + len), prot, FALSE);
-}
-#endif
void
vslock(addr, len)
caddr_t addr;
OpenPOWER on IntegriCloud