/[rtmk]/rtmk/pager-dflt.c
ViewVC logotype

Diff of /rtmk/pager-dflt.c

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

revision 1.3 by jrydberg, Wed Mar 6 00:55:01 2002 UTC revision 1.4 by jrydberg, Wed Mar 27 00:13:45 2002 UTC
# Line 22  Foundation, Inc., 59 Temple Place - Suit Line 22  Foundation, Inc., 59 Temple Place - Suit
22  #include "vm-pager.h"  #include "vm-pager.h"
23    
24  /* Someone is requesting page at OFFSET in object COOKIE, from our PAGER.  /* Someone is requesting page at OFFSET in object COOKIE, from our PAGER.
25     Since we are providing anonymous regions, just return OK with *PAGEP     Since we are providing anonymous regions, just return OK with PAGE->absert_p
26     set to NULL.  We do not care about DESIRED_ACCESS and OFFSET.  */     set to NULL.  We do not care about DESIRED_ACCESS and OFFSET.  */
27  static kern_return_t  static kern_return_t
28  dflt_page_request (void *cookie, struct vm_object *object, vm_offset_t offset,  dflt_page_request (void *cookie, struct vm_object *object, vm_offset_t offset,
29                     vm_prot_t desired_access, struct vm_page **pagep)                     vm_prot_t desired_access, struct vm_page *page)
30  {  {
31    *pagep = 0;    page->busy_p = 0;
32    return KERN_SUCCESS;    return KERN_SUCCESS;
33  }  }
34    

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

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