Annotation of Gnu-Mach/kern/ipc_tt.h, revision 1.1.1.2

1.1.1.2 ! root        1: /*
1.1       root        2:  * Mach Operating System
                      3:  * Copyright (c) 1991,1990,1989,1988,1987 Carnegie Mellon University
                      4:  * All Rights Reserved.
1.1.1.2 ! root        5:  *
1.1       root        6:  * Permission to use, copy, modify and distribute this software and its
                      7:  * documentation is hereby granted, provided that both the copyright
                      8:  * notice and this permission notice appear in all copies of the
                      9:  * software, derivative works or modified versions, and any portions
                     10:  * thereof, and that both notices appear in supporting documentation.
1.1.1.2 ! root       11:  *
1.1       root       12:  * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
                     13:  * CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
                     14:  * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
1.1.1.2 ! root       15:  *
1.1       root       16:  * Carnegie Mellon requests users of this software to return to
1.1.1.2 ! root       17:  *
1.1       root       18:  *  Software Distribution Coordinator  or  [email protected]
                     19:  *  School of Computer Science
                     20:  *  Carnegie Mellon University
                     21:  *  Pittsburgh PA 15213-3890
1.1.1.2 ! root       22:  *
1.1       root       23:  * any improvements or extensions that they make and grant Carnegie Mellon
                     24:  * the rights to redistribute these changes.
                     25:  */
                     26: 
                     27: #ifndef        _KERN_IPC_TT_H_
                     28: #define _KERN_IPC_TT_H_
                     29: 
                     30: #include <mach/boolean.h>
                     31: #include <mach/port.h>
                     32: 
                     33: extern void ipc_task_init();
                     34: extern void ipc_task_enable();
                     35: extern void ipc_task_disable();
                     36: extern void ipc_task_terminate();
                     37: 
                     38: extern void ipc_thread_init();
                     39: extern void ipc_thread_enable();
                     40: extern void ipc_thread_disable();
                     41: extern void ipc_thread_terminate();
                     42: 
                     43: extern struct ipc_port *
                     44: retrieve_task_self(/* task_t */);
                     45: 
                     46: extern struct ipc_port *
                     47: retrieve_task_self_fast(/* task_t */);
                     48: 
                     49: extern struct ipc_port *
                     50: retrieve_thread_self(/* thread_t */);
                     51: 
                     52: extern struct ipc_port *
                     53: retrieve_thread_self_fast(/* thread_t */);
                     54: 
                     55: extern struct ipc_port *
                     56: retrieve_task_exception(/* task_t */);
                     57: 
                     58: extern struct ipc_port *
                     59: retrieve_thread_exception(/* thread_t */);
                     60: 
                     61: extern struct task *
                     62: convert_port_to_task(/* struct ipc_port * */);
                     63: 
                     64: extern struct ipc_port *
                     65: convert_task_to_port(/* task_t */);
                     66: 
                     67: extern void
                     68: task_deallocate(/* task_t */);
                     69: 
                     70: extern struct thread *
                     71: convert_port_to_thread(/* struct ipc_port * */);
                     72: 
                     73: extern struct ipc_port *
                     74: convert_thread_to_port(/* thread_t */);
                     75: 
                     76: extern void
                     77: thread_deallocate(/* thread_t */);
                     78: 
                     79: extern struct vm_map *
                     80: convert_port_to_map(/* struct ipc_port * */);
                     81: 
                     82: extern struct ipc_space *
                     83: convert_port_to_space(/* struct ipc_port * */);
                     84: 
                     85: extern void
                     86: space_deallocate(/* ipc_space_t */);
                     87: 
1.1.1.2 ! root       88: #endif /* _KERN_IPC_TT_H_ */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.