Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hppa/hppa in pmap_protect(), remove the assertion t...
details: https://anonhg.NetBSD.org/src/rev/dd98704b71d7
branches: trunk
changeset: 580754:dd98704b71d7
user: chs <chs%NetBSD.org@localhost>
date: Sat May 07 15:54:46 2005 +0000
description:
in pmap_protect(), remove the assertion that any entries modified must be
managed. after the yamt-km changes, the sti driver needs to add execute
permission to the (now unmanaged) mapping for its copy of the card firmware,
and this appears to work fine already.
diffstat:
sys/arch/hppa/hppa/pmap.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r 75b1e3154e76 -r dd98704b71d7 sys/arch/hppa/hppa/pmap.c
--- a/sys/arch/hppa/hppa/pmap.c Sat May 07 15:11:02 2005 +0000
+++ b/sys/arch/hppa/hppa/pmap.c Sat May 07 15:54:46 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.14 2004/07/18 23:21:35 chs Exp $ */
+/* $NetBSD: pmap.c,v 1.15 2005/05/07 15:54:46 chs Exp $ */
/*-
* Copyright (c) 2001, 2002 The NetBSD Foundation, Inc.
@@ -171,7 +171,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.14 2004/07/18 23:21:35 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.15 2005/05/07 15:54:46 chs Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -1551,8 +1551,8 @@
s = splvm();
for(; sva < eva; sva += PAGE_SIZE) {
- if((pv = pmap_pv_find_va(space, sva))) {
- KASSERT((pv->pv_tlbprot & TLB_UNMANAGED) == 0);
+ if ((pv = pmap_pv_find_va(space, sva))) {
+
/*
* Compare new protection with old to see if
* anything needs to be changed.
Home |
Main Index |
Thread Index |
Old Index