/[hurd]/hurd-l4/libhurd-mm/physmem-user.h
ViewVC logotype

Diff of /hurd-l4/libhurd-mm/physmem-user.h

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

revision 1.1 by neal, Tue Jan 11 18:15:26 2005 UTC revision 1.2 by neal, Tue Mar 8 17:47:50 2005 UTC
# Line 100  extern error_t hurd_pm_container_map (hu Line 100  extern error_t hurd_pm_container_map (hu
100                                        l4_word_t offset, size_t size,                                        l4_word_t offset, size_t size,
101                                        uintptr_t vaddr, l4_word_t rights);                                        uintptr_t vaddr, l4_word_t rights);
102    
103    /* Logically copy COUNT bytes from container SRC_CONTAINER starting at
104       byte SRC_START to container DEST_CONTAINER starting at byte
105       DEST_START.  On return, *AMOUNT contains the number of bytes copied
106       when an error occurred (if any).
107    
108       If copying would overwrite frames in DEST_CONTAINER and FLAGS
109       contains HURD_PM_CONT_ALLOC_SQUASH, the frames are implicitly
110       deallocated, otherwise EEXIST is returned.
111    
112       If an address to copy has no memory associated with it, ESRCH is
113       returned.
114    
115       SRC_START and DEST_START must correspond to the start of a base
116       page.  COUNT must be a multiple of the base page.  Failing this,
117       EINVAL is returned.
118    
119       *AMOUNT will always contain a number of bytes which is a multiple
120       of the base page size.  */
121    extern error_t hurd_pm_container_copy (hurd_pm_container_t src_container,
122                                           uintptr_t src_start,
123                                           hurd_pm_container_t dest_container,
124                                           uintptr_t dest_start,
125                                           size_t count,
126                                           uintptr_t flags,
127                                           size_t *amount);
128  #endif  /* HURD_PHYSMEM_USER_H */  #endif  /* HURD_PHYSMEM_USER_H */

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

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