diff options
author | Michael I. Bushnell <mib@gnu.org> | 1996-03-26 20:41:03 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1996-03-26 20:41:03 +0000 |
commit | 3a71d28fab9e13957ddeb9863f6cd2ad071bacaa (patch) | |
tree | acd81c9933b771cdcf0932ae89737d563a244e3b | |
parent | 2f45d2ae1bdbde3523163d51bf886bde890f6160 (diff) |
(struct pager): New member `anticipations'.
(struct anticipation): New type.
(_pager_check_anticipations): New declaration.
-rw-r--r-- | libpager/priv.h | 15 |
1 files changed, 14 insertions, 1 deletions
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); |