/[hurd]/hurd-l4/physmem/physmem.h
ViewVC logotype

Diff of /hurd-l4/physmem/physmem.h

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

revision 1.7 by marcus, Wed Oct 27 20:18:10 2004 UTC revision 1.8 by marcus, Mon Nov 1 20:54:00 2004 UTC
# Line 45  void switch_thread (l4_thread_id_t from, Line 45  void switch_thread (l4_thread_id_t from,
45    
46  /* Container objects.  */  /* Container objects.  */
47    
48    struct container
49    {
50      /* For now, a container is nothing more than a contiguous,
51         page-aligned range of memory.  This is the reason why
52         L4_FPAGE_SPAN_MAX fpages are sufficient.  */
53      l4_fpage_t fpages[L4_FPAGE_SPAN_MAX];
54    
55      /* The number of entries in FPAGES.  */
56      l4_word_t nr_fpages;
57    };
58    typedef struct container *container_t;
59    
60    
61  /* Initialize the container class subsystem.  */  /* Initialize the container class subsystem.  */
62  error_t container_class_init ();  error_t container_class_init ();
63    
64    
65  /* Allocate a new container object covering the NR_FPAGES fpages  /* Allocate a new container object covering the NR_FPAGES fpages
66     listed in FPAGES.  The object returned is locked and has one     listed in FPAGES.  The object returned is locked and has one
67     reference.  */     reference.  */
68  error_t container_alloc (l4_word_t nr_fpages, l4_word_t *fpages,  error_t container_alloc (l4_word_t nr_fpages, l4_word_t *fpages,
69                           hurd_cap_obj_t *r_obj);                           container_t  *r_container);

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

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