/[hurd]/hurd/libdiskfs/io-map-cntl.c
ViewVC logotype

Diff of /hurd/libdiskfs/io-map-cntl.c

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

revision 1.6 by roland, Fri Mar 29 18:57:34 1996 UTC revision 1.7 by roland, Wed May 8 09:57:02 2002 UTC
# Line 1  Line 1 
1  /*  /*
2     Copyright (C) 1994, 1996 Free Software Foundation, Inc.     Copyright (C) 1994,96,2002 Free Software Foundation, Inc.
3    
4     This program is free software; you can redistribute it and/or     This program is free software; you can redistribute it and/or
5     modify it under the terms of the GNU General Public License as     modify it under the terms of the GNU General Public License as
# Line 34  diskfs_S_io_map_cntl (struct protid *cre Line 34  diskfs_S_io_map_cntl (struct protid *cre
34      {      {
35        default_pager_object_create (diskfs_default_pager, &cred->shared_object,        default_pager_object_create (diskfs_default_pager, &cred->shared_object,
36                                     __vm_page_size);                                     __vm_page_size);
37        vm_map (mach_task_self (), (u_int *)&cred->mapped, vm_page_size, 0, 1,        vm_map (mach_task_self (), (vm_address_t *)&cred->mapped, vm_page_size,
38                cred->shared_object, 0, 0,                0, 1, cred->shared_object, 0, 0,
39                VM_PROT_READ|VM_PROT_WRITE, VM_PROT_READ|VM_PROT_WRITE, 0);                VM_PROT_READ|VM_PROT_WRITE, VM_PROT_READ|VM_PROT_WRITE, 0);
40        cred->mapped->shared_page_magic = SHARED_PAGE_MAGIC;        cred->mapped->shared_page_magic = SHARED_PAGE_MAGIC;
41        cred->mapped->conch_status = USER_HAS_NOT_CONCH;        cred->mapped->conch_status = USER_HAS_NOT_CONCH;

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

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