vm prototype changes.
This commit is contained in:
parent
a18394e8c3
commit
684b37e33e
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: vm_machdep.c,v 1.57 1995/12/26 16:59:47 mycroft Exp $ */
|
||||
/* $NetBSD: vm_machdep.c,v 1.58 1996/02/05 02:00:35 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1995 Charles M. Hannum. All rights reserved.
|
||||
|
@ -334,6 +334,7 @@ extern vm_map_t phys_map;
|
|||
* All requests are (re)mapped into kernel VA space via the useriomap
|
||||
* (a name with only slightly more meaning than "kernelmap")
|
||||
*/
|
||||
void
|
||||
vmapbuf(bp, len)
|
||||
struct buf *bp;
|
||||
vm_size_t len;
|
||||
|
@ -365,6 +366,7 @@ vmapbuf(bp, len)
|
|||
* Free the io map PTEs associated with this IO operation.
|
||||
* We also invalidate the TLB entries and restore the original b_addr.
|
||||
*/
|
||||
void
|
||||
vunmapbuf(bp, len)
|
||||
struct buf *bp;
|
||||
vm_size_t len;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: vm_machdep.c,v 1.18 1995/12/11 12:44:39 pk Exp $ */
|
||||
/* $NetBSD: vm_machdep.c,v 1.19 1996/02/05 01:59:12 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
|
@ -239,8 +239,11 @@ dvma_mapout(kva, va, len)
|
|||
/*
|
||||
* Map an IO request into kernel virtual address space.
|
||||
*/
|
||||
vmapbuf(bp)
|
||||
/*ARGSUSED*/
|
||||
void
|
||||
vmapbuf(bp, sz)
|
||||
register struct buf *bp;
|
||||
vm_size_t sz;
|
||||
{
|
||||
register vm_offset_t addr, kva, pa;
|
||||
register vm_size_t size, off;
|
||||
|
@ -281,8 +284,11 @@ vmapbuf(bp)
|
|||
/*
|
||||
* Free the io map addresses associated with this IO operation.
|
||||
*/
|
||||
vunmapbuf(bp)
|
||||
/*ARGSUSED*/
|
||||
void
|
||||
vunmapbuf(bp, sz)
|
||||
register struct buf *bp;
|
||||
vm_size_t sz;
|
||||
{
|
||||
register vm_offset_t kva = (vm_offset_t)bp->b_data;
|
||||
register vm_size_t size, off;
|
||||
|
|
Loading…
Reference in New Issue