From 3a71d28fab9e13957ddeb9863f6cd2ad071bacaa Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Tue, 26 Mar 1996 20:41:03 +0000 Subject: (struct pager): New member `anticipations'. (struct anticipation): New type. (_pager_check_anticipations): New declaration. --- libpager/priv.h | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'libpager/priv.h') diff --git a/libpager/priv.h b/libpager/priv.h index 2ca4b030..277939a9 100644 --- a/libpager/priv.h +++ b/libpager/priv.h @@ -1,5 +1,5 @@ /* Private data for pager library. - Copyright (C) 1994, 1995 Free Software Foundation + Copyright (C) 1994, 1995, 1996 Free Software Foundation This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as @@ -64,6 +64,8 @@ struct pager struct pending_init *init_head, *init_tail; #endif + struct anticipation *anticipations; + char *pagemap; int pagemapsize; }; @@ -86,6 +88,15 @@ struct attribute_request int attrs_pending; }; +struct anticipation +{ + struct anticipation *next; + vm_size_t len; + vm_offset_t offset; + vm_address_t address; + int dirty; +}; + #ifdef KERNEL_INIT_RACE struct pending_init { @@ -142,5 +153,7 @@ void _pager_lock_object (struct pager *, vm_offset_t, vm_size_t, int, int, void _pager_free_structure (struct pager *); void _pager_clean (void *arg); void _pager_real_dropweak (void *arg); +struct anticipation *_pager_check_anticipations (struct pager *, vm_size_t, + vm_offset_t); -- cgit v1.2.3