summaryrefslogtreecommitdiff
path: root/sys/uvm/uvm_page.h
diff options
context:
space:
mode:
authorAriane van der Steldt <ariane@cvs.openbsd.org>2011-04-02 12:38:38 +0000
committerAriane van der Steldt <ariane@cvs.openbsd.org>2011-04-02 12:38:38 +0000
commit73d0ca48f3b21edc654d76563a7e9bcf845c06e3 (patch)
tree8b6a72f87e3dc23bfd19cf8bd552f0453d81b6a5 /sys/uvm/uvm_page.h
parent1f78efac1821c14469c471adc993a8948fdd373c (diff)
Count the number of physical pages within a memory range.
Bob needs this. ok art@ bob@ thib@
Diffstat (limited to 'sys/uvm/uvm_page.h')
-rw-r--r--sys/uvm/uvm_page.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/uvm/uvm_page.h b/sys/uvm/uvm_page.h
index 8dc67d3f933..816278f8171 100644
--- a/sys/uvm/uvm_page.h
+++ b/sys/uvm/uvm_page.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_page.h,v 1.44 2010/06/29 21:25:16 thib Exp $ */
+/* $OpenBSD: uvm_page.h,v 1.45 2011/04/02 12:38:37 ariane Exp $ */
/* $NetBSD: uvm_page.h,v 1.19 2000/12/28 08:24:55 chs Exp $ */
/*
@@ -252,6 +252,9 @@ void uvm_pagezero(struct vm_page *);
void uvm_pagealloc_pg(struct vm_page *, struct uvm_object *,
voff_t, struct vm_anon *);
+struct uvm_constraint_range; /* XXX move to uvm_extern.h? */
+psize_t uvm_pagecount(struct uvm_constraint_range*);
+
int uvm_page_lookup_freelist(struct vm_page *);
#if VM_PHYSSEG_MAX == 1