/[rtmk]/rtmk/ipc-port.c
ViewVC logotype

Diff of /rtmk/ipc-port.c

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

revision 1.6 by jrydberg, Sat Jan 5 00:08:30 2002 UTC revision 1.7 by jrydberg, Sat Feb 16 15:17:15 2002 UTC
# Line 1  Line 1 
1  /* ??? ports  /* ??? ports
2     Copyright 1999, 2000, 2001 Johan Rydberg, jrydberg@opencores.org.     Copyright 1999, 2000, 2001, 2002 Johan Rydberg, jrydberg@rtmk.org.
3    
4  This program is free software; you can redistribute it and/or modify  This program is free software; you can redistribute it and/or modify
5  it under the terms of the GNU General Public License as published by  it under the terms of the GNU General Public License as published by
# Line 111  port_allocate_name (struct task *task, r Line 111  port_allocate_name (struct task *task, r
111    return KERN_SUCCESS;    return KERN_SUCCESS;
112  }  }
113    
114    /* Inserts into TASK the caller's right for PORT. RIGHT_NAME is name in
115       TASK's IPC object.  RIGHT_TYPE specifies right type.  */
116    kern_return_t
117    port_insert_right (struct task *task, struct ipc_port *port,
118                       rtmk_port_name_t right_name, rtmk_port_type_t right_type)
119    {
120      /* ??? lock object.  */
121      return
122        ipc_object_insert (task->ipc_object, port, right_type, right_name);
123      /* ??? unlock object.  */
124    }
125    
126  /* Create a new kernel port.  This port have not message queue since  /* Create a new kernel port.  This port have not message queue since
127     all messages sent to it will be demuxed by the kernel demuxer.  */     all messages sent to it will be demuxed by the kernel demuxer.  */
128    

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