/[hurd]/hurd/storeio/pager.c
ViewVC logotype

Diff of /hurd/storeio/pager.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.13 by roland, Wed May 8 10:17:41 2002 UTC revision 1.13.2.1 by ams, Thu Aug 25 18:34:17 2005 UTC
# Line 1  Line 1 
1  /* Paging interface for storeio devices  /* Paging interface for storeio devices
2    
3     Copyright (C) 1995,96,97,99,2002 Free Software Foundation, Inc.     Copyright (C) 1995,96,97,99,2002,05 Free Software Foundation, Inc.
4    
5     Written by Miles Bader <miles@gnu.ai.mit.edu>     Written by Miles Bader <miles@gnu.ai.mit.edu>
6    
# Line 109  pager_unlock_page (struct user_pager_inf Line 109  pager_unlock_page (struct user_pager_inf
109      return 0;      return 0;
110  }  }
111    
112    void
113    pager_notify_evict (struct user_pager_info *pager,
114                        vm_offset_t page)
115    {
116      assert (!"unrequested notification on eviction");
117    }
118    
119  /* The user must define this function.  It should report back (in  /* The user must define this function.  It should report back (in
120     *OFFSET and *SIZE the minimum valid address the pager will accept     *OFFSET and *SIZE the minimum valid address the pager will accept
121     and the size of the object.   */     and the size of the object.   */
# Line 232  dev_get_memory_object (struct dev *dev, Line 239  dev_get_memory_object (struct dev *dev,
239          {          {
240            dev->pager =            dev->pager =
241              pager_create ((struct user_pager_info *)dev, pager_port_bucket,              pager_create ((struct user_pager_info *)dev, pager_port_bucket,
242                            1, MEMORY_OBJECT_COPY_DELAY);                            1, MEMORY_OBJECT_COPY_DELAY, 0);
243            if (dev->pager == NULL)            if (dev->pager == NULL)
244              {              {
245                mutex_unlock (&dev->pager_lock);                mutex_unlock (&dev->pager_lock);

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.13.2.1

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26