Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/alpha/alpha Update the comments above vmapbuf() and...



details:   https://anonhg.NetBSD.org/src/rev/eff27b84a86c
branches:  trunk
changeset: 473017:eff27b84a86c
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sun May 16 22:24:16 1999 +0000

description:
Update the comments above vmapbuf() and vunmapbuf() to reflect reality.

diffstat:

 sys/arch/alpha/alpha/vm_machdep.c |  24 ++++--------------------
 1 files changed, 4 insertions(+), 20 deletions(-)

diffs (52 lines):

diff -r 04edba9a8386 -r eff27b84a86c sys/arch/alpha/alpha/vm_machdep.c
--- a/sys/arch/alpha/alpha/vm_machdep.c Sun May 16 21:19:33 1999 +0000
+++ b/sys/arch/alpha/alpha/vm_machdep.c Sun May 16 22:24:16 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vm_machdep.c,v 1.46 1999/05/13 21:58:32 thorpej Exp $ */
+/* $NetBSD: vm_machdep.c,v 1.47 1999/05/16 22:24:16 thorpej Exp $ */
 
 /*
  * Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University.
@@ -29,7 +29,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.46 1999/05/13 21:58:32 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.47 1999/05/16 22:24:16 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -370,22 +370,7 @@
 extern vm_map_t phys_map;
 
 /*
- * Map an IO request into kernel virtual address space.  Requests fall into
- * one of five catagories:
- *
- *     B_PHYS|B_UAREA: User u-area swap.
- *                     Address is relative to start of u-area (p_addr).
- *     B_PHYS|B_PAGET: User page table swap.
- *                     Address is a kernel VA in usrpt (Usrptmap).
- *     B_PHYS|B_DIRTY: Dirty page push.
- *                     Address is a VA in proc2's address space.
- *     B_PHYS|B_PGIN:  Kernel pagein of user pages.
- *                     Address is VA in user's address space.
- *     B_PHYS:         User "raw" IO request.
- *                     Address is VA in user's address space.
- *
- * All requests are (re)mapped into kernel VA space via the useriomap
- * (a name with only slightly more meaning than "kernelmap")
+ * Map a user I/O request into kernel virtual address space.
  */
 void
 vmapbuf(bp, len)
@@ -417,8 +402,7 @@
 }
 
 /*
- * Free the io map PTEs associated with this IO operation.
- * We also invalidate the TLB entries and restore the original b_addr.
+ * Unmap a previously-mapped user I/O request.
  */
 void
 vunmapbuf(bp, len)



Home | Main Index | Thread Index | Old Index