122 |
/* IPC. */ |
/* IPC. */ |
123 |
|
|
124 |
/* Deallocate right to PORT_NAME. */ |
/* Deallocate right to PORT_NAME. */ |
125 |
extern kern_return_t port_deallocate __P ((rtmk_port_t port_name)); |
extern kern_return_t port_deallocate __P ((rtmk_port_t task_name, |
126 |
extern kern_return_t __port_deallocate __P ((rtmk_port_t port_name)); |
rtmk_port_t port_name)); |
127 |
|
extern kern_return_t __port_deallocate __P ((rtmk_port_t task_name, |
128 |
|
rtmk_port_t port_name)); |
129 |
|
|
130 |
/* Destroy PORT_NAME. Will make the port a zombie port, until all |
/* Destroy PORT_NAME. Will make the port a zombie port, until all |
131 |
user references are droped, and the port is deallocated. */ |
user references are droped, and the port is deallocated. */ |
271 |
|
|
272 |
/* Host. */ |
/* Host. */ |
273 |
|
|
274 |
|
/* Allocate a new (unpriviledged) host port. Can be used to fetch |
275 |
|
information and statistics about system. *SYSCALL* */ |
276 |
|
extern rtmk_port_t host_self __P ((void)); |
277 |
|
extern rtmk_port_t __host_self __P ((void)); |
278 |
|
|
279 |
/* Reboot host. HOST_PORT must be master host port. */ |
/* Reboot host. HOST_PORT must be master host port. */ |
280 |
extern kern_return_t host_reboot __P ((rtmk_port_t host_port)); |
extern kern_return_t host_reboot __P ((rtmk_port_t host_port)); |
281 |
extern kern_return_t __host_reboot __P ((rtmk_port_t host_port)); |
extern kern_return_t __host_reboot __P ((rtmk_port_t host_port)); |
299 |
extern kern_return_t __host_attach_interrupt __P ((rtmk_port_t host_port, |
extern kern_return_t __host_attach_interrupt __P ((rtmk_port_t host_port, |
300 |
int intr_no, rtmk_port_t evc)); |
int intr_no, rtmk_port_t evc)); |
301 |
|
|
302 |
|
/* Get information about the system. FLAVOR specifies what info. */ |
303 |
|
extern kern_return_t host_info __P ((rtmk_port_t host, int flavor, |
304 |
|
char *buf, int *buf_length)); |
305 |
|
extern kern_return_t __host_info __P ((rtmk_port_t host, int flavor, |
306 |
|
char *buf, int *buf_length)); |
307 |
|
|
308 |
|
|
309 |
/* Event counters. */ |
/* Event counters. */ |
310 |
|
|