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.c | |
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.c')
-rw-r--r-- | sys/uvm/uvm_page.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/uvm/uvm_page.c b/sys/uvm/uvm_page.c index cc6167c2ea8..a7a6462981a 100644 --- a/sys/uvm/uvm_page.c +++ b/sys/uvm/uvm_page.c @@ -1,5 +1,5 @@ -/* $OpenBSD: uvm_page.c,v 1.20 2001/07/31 14:03:47 art Exp $ */ -/* $NetBSD: uvm_page.c,v 1.30 2000/02/13 03:34:40 thorpej Exp $ */ +/* $OpenBSD: uvm_page.c,v 1.21 2001/08/06 14:03:05 art Exp $ */ +/* $NetBSD: uvm_page.c,v 1.31 2000/03/26 20:54:47 kleink Exp $ */ /* * Copyright (c) 1997 Charles D. Cranor and Washington University. @@ -856,7 +856,7 @@ uvm_page_physdump() struct vm_page * uvm_pagealloc_strat(obj, off, anon, flags, strat, free_list) struct uvm_object *obj; - vaddr_t off; + voff_t off; int flags; struct vm_anon *anon; int strat, free_list; @@ -1025,7 +1025,7 @@ void uvm_pagerealloc(pg, newobj, newoff) struct vm_page *pg; struct uvm_object *newobj; - vaddr_t newoff; + voff_t newoff; { /* * remove it from the old object |