Module Name: src
Committed By: jym
Date: Wed Nov 23 01:16:56 UTC 2011
Modified Files:
src/sys/arch/x86/include: pmap.h
Log Message:
No more users of xpmap_update(). Use pmap_pte_*() functions now.
To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 src/sys/arch/x86/include/pmap.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/x86/include/pmap.h
diff -u src/sys/arch/x86/include/pmap.h:1.47 src/sys/arch/x86/include/pmap.h:1.48
--- src/sys/arch/x86/include/pmap.h:1.47 Wed Nov 23 00:56:56 2011
+++ src/sys/arch/x86/include/pmap.h Wed Nov 23 01:16:55 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.h,v 1.47 2011/11/23 00:56:56 jym Exp $ */
+/* $NetBSD: pmap.h,v 1.48 2011/11/23 01:16:55 jym Exp $ */
/*
* Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -440,22 +440,6 @@ xpmap_ptetomach(pt_entry_t *pte)
return (paddr_t) (((*up_pte) & PG_FRAME) + (((vaddr_t) pte) & (~PG_FRAME & ~VA_SIGN_MASK)));
}
-/*
- * xpmap_update()
- * Update an active pt entry with Xen
- * Equivalent to *pte = npte
- */
-
-static __inline void
-xpmap_update (pt_entry_t *pte, pt_entry_t npte)
-{
- int s = splvm();
-
- xpq_queue_pte_update(xpmap_ptetomach(pte), npte);
- xpq_flush_queue();
- splx(s);
-}
-
/* Xen helpers to change bits of a pte */
#define XPMAP_UPDATE_DIRECT 1 /* Update direct map entry flags too */