diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-08-06 14:03:06 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-08-06 14:03:06 +0000 |
commit | 0e51140bc4d8ce922edd65b75fccdcb28c0d7872 (patch) | |
tree | 77db98dcab4c639849cf05e5384fc5eab782dd2f /sys/uvm/uvm_page.h | |
parent | 1b4909669b8582212bdca9564ac3951ad63c336b (diff) |
Add a new type voff_t (right now it's typedefed as off_t) used for offsets
into objects.
Gives the possibilty to mmap beyond the size of vaddr_t.
From NetBSD.
Diffstat (limited to 'sys/uvm/uvm_page.h')
-rw-r--r-- | sys/uvm/uvm_page.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/uvm/uvm_page.h b/sys/uvm/uvm_page.h index 08fee83ed07..484c3a6cb54 100644 --- a/sys/uvm/uvm_page.h +++ b/sys/uvm/uvm_page.h @@ -1,5 +1,5 @@ -/* $OpenBSD: uvm_page.h,v 1.7 2001/03/22 03:05:56 smart Exp $ */ -/* $NetBSD: uvm_page.h,v 1.13 1999/06/21 17:25:12 thorpej Exp $ */ +/* $OpenBSD: uvm_page.h,v 1.8 2001/08/06 14:03:05 art Exp $ */ +/* $NetBSD: uvm_page.h,v 1.14 2000/03/26 20:54:47 kleink Exp $ */ /* * Copyright (c) 1997 Charles D. Cranor and Washington University. @@ -117,7 +117,7 @@ vaddr_t uvm_pageboot_alloc __P((vsize_t)); PAGE_INLINE void uvm_pagecopy __P((struct vm_page *, struct vm_page *)); PAGE_INLINE void uvm_pagedeactivate __P((struct vm_page *)); void uvm_pagefree __P((struct vm_page *)); -PAGE_INLINE struct vm_page *uvm_pagelookup __P((struct uvm_object *, vaddr_t)); +PAGE_INLINE struct vm_page *uvm_pagelookup __P((struct uvm_object *, voff_t)); void uvm_pageremove __P((struct vm_page *)); /* uvm_pagerename: not needed */ PAGE_INLINE void uvm_pageunwire __P((struct vm_page *)); |