1 |
/* IPC port defintions. |
/* IPC port defintions. |
2 |
Copyright 1999, 2000, 2001, 2002 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 |
68 |
/* For linking in port set. */ |
/* For linking in port set. */ |
69 |
struct queue_entry link; |
struct queue_entry link; |
70 |
|
|
71 |
|
/* List of port members -- if this is a port set. IS_PSET_P |
72 |
|
must be true for this to be valid. */ |
73 |
|
struct queue_entry pset_members; |
74 |
|
|
75 |
/* Simple spinlock. */ |
/* Simple spinlock. */ |
76 |
struct thread_lock lock; |
struct thread_lock lock; |
77 |
|
|
159 |
rtmk_port_name_t right_name, |
rtmk_port_name_t right_name, |
160 |
rtmk_port_type_t right_type); |
rtmk_port_type_t right_type); |
161 |
|
|
162 |
|
/* Removes TASK's rights for NAME. The name becomes immediately |
163 |
|
available for reuse. */ |
164 |
|
|
165 |
|
extern kern_return_t port_destroy (struct task *task, |
166 |
|
rtmk_port_name_t name); |
167 |
|
|
168 |
#endif /* ipc-port.h */ |
#endif /* ipc-port.h */ |
169 |
|
|
170 |
|
|