|
|
1.1 ! root 1: /* ! 2: * Mach Operating System ! 3: * Copyright (c) 1991,1990,1989,1988 Carnegie Mellon University. ! 4: * Copyright (c) 1993,1994 The University of Utah and ! 5: * the Computer Systems Laboratory (CSL). ! 6: * All rights reserved. ! 7: * ! 8: * Permission to use, copy, modify and distribute this software and its ! 9: * documentation is hereby granted, provided that both the copyright ! 10: * notice and this permission notice appear in all copies of the ! 11: * software, derivative works or modified versions, and any portions ! 12: * thereof, and that both notices appear in supporting documentation. ! 13: * ! 14: * CARNEGIE MELLON, THE UNIVERSITY OF UTAH AND CSL ALLOW FREE USE OF ! 15: * THIS SOFTWARE IN ITS "AS IS" CONDITION, AND DISCLAIM ANY LIABILITY ! 16: * OF ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF ! 17: * THIS SOFTWARE. ! 18: * ! 19: * Carnegie Mellon requests users of this software to return to ! 20: * ! 21: * Software Distribution Coordinator or [email protected] ! 22: * School of Computer Science ! 23: * Carnegie Mellon University ! 24: * Pittsburgh PA 15213-3890 ! 25: * ! 26: * any improvements or extensions that they make and grant Carnegie Mellon ! 27: * the rights to redistribute these changes. ! 28: */ ! 29: ! 30: #ifndef _KERN_IPC_HOST_H_ ! 31: #define _KERN_IPC_HOST_H_ ! 32: ! 33: #include <mach/port.h> ! 34: #include <kern/processor.h> ! 35: ! 36: extern void ipc_host_init(void); ! 37: ! 38: extern void ipc_processor_init(processor_t); ! 39: ! 40: extern void ipc_pset_init(processor_set_t); ! 41: extern void ipc_pset_enable(processor_set_t); ! 42: extern void ipc_pset_disable(processor_set_t); ! 43: extern void ipc_pset_terminate(processor_set_t); ! 44: ! 45: extern struct host * ! 46: convert_port_to_host(struct ipc_port *); ! 47: ! 48: extern struct ipc_port * ! 49: convert_host_to_port(struct host *); ! 50: ! 51: extern struct host * ! 52: convert_port_to_host_priv(struct ipc_port *); ! 53: ! 54: extern processor_t ! 55: convert_port_to_processor(struct ipc_port *); ! 56: ! 57: extern struct ipc_port * ! 58: convert_processor_to_port(processor_t); ! 59: ! 60: extern processor_set_t ! 61: convert_port_to_pset(struct ipc_port *); ! 62: ! 63: extern struct ipc_port * ! 64: convert_pset_to_port(processor_set_t); ! 65: ! 66: extern processor_set_t ! 67: convert_port_to_pset_name(struct ipc_port *); ! 68: ! 69: extern struct ipc_port * ! 70: convert_pset_name_to_port(processor_set_t); ! 71: ! 72: #endif /* _KERN_IPC_HOST_H_ */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.